













技术领域technical field
本发明涉及通信技术领域,尤其涉及一种虚拟资源的部署方法、装置及系统。The present invention relates to the field of communication technologies, and in particular, to a method, device and system for deploying virtual resources.
背景技术Background technique
随着虚拟化技术的飞速发展,在通用的物理设备上,实现网络中专用的网元设备的功能的网络功能虚拟化(英文:network function virtualization,缩写:NFV)系统逐渐受到人们的重视。With the rapid development of virtualization technology, a network function virtualization (English: network function virtualization, abbreviated: NFV) system that realizes the functions of dedicated network element devices in a network on a general-purpose physical device has gradually attracted people's attention.
在NFV系统中,通常由功能虚拟化调度节点(英文:network functionvirtualization orchestrator,缩写:NFVO),或者虚拟网络功能管理节点(英文:virtualized network function manager,缩写:VNFM)向虚拟机基础设施管理节点(英文:virtualized infrastructure manager,缩写:VIM)发送资源部署请求消息,以请求VIM将待部署的虚拟资源在该VIM所管理的区域上进行部署。例如,在实例化某个虚拟网络功能(英文:virtualized network function,缩写:VNF)时,NFVO或者VNFM会向VIM发送资源部署请求消息,VIM根据该资源部署请求消息在该VIM所管理的主机(英文:host)上部署组成该VNF所需的虚拟机(英文:virtual machine,VM)。In an NFV system, a function virtualization scheduling node (English: network functionvirtualization orchestrator, abbreviation: NFVO), or a virtual network function management node (English: virtualized network function manager, abbreviation: VNFM) is usually sent to the virtual machine infrastructure management node ( English: virtualized infrastructure manager, abbreviation: VIM) sends a resource deployment request message to request the VIM to deploy the virtual resources to be deployed on the area managed by the VIM. For example, when a virtualized network function (English: virtualized network function, abbreviation: VNF) is instantiated, the NFVO or VNFM will send a resource deployment request message to the VIM, and the VIM will use the resource deployment request message on the host managed by the VIM ( English: host) to deploy the virtual machine (English: virtual machine, VM) required to form the VNF.
然而,通过上述虚拟资源部署的方法,当该VNF的虚拟资源包括多个VM,例如包括5个VM,VIM可能会将该5个VM部署在一台主机上,那么当该主机发生故障时,会导致该5个VM均无法运行,因此,通过上述资源部署的方法会导致虚拟资源部署的可靠性较低。However, through the above virtual resource deployment method, when the virtual resource of the VNF includes multiple VMs, such as including 5 VMs, the VIM may deploy the 5 VMs on one host, then when the host fails, As a result, none of the five VMs can run. Therefore, using the above resource deployment method will result in lower reliability of virtual resource deployment.
发明内容SUMMARY OF THE INVENTION
本发明的实施例提供一种虚拟资源的部署方法、装置及系统,能够提高虚拟资源部署的可靠性。Embodiments of the present invention provide a method, device and system for deploying virtual resources, which can improve the reliability of virtual resource deployment.
为达到上述目的,本发明的实施例采用如下技术方案:To achieve the above object, the embodiments of the present invention adopt the following technical solutions:
第一方面,本发明实施例提供一种虚拟资源的部署方法,包括:In a first aspect, an embodiment of the present invention provides a method for deploying virtual resources, including:
管理节点向VIM发送第一资源部署请求消息,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元,所述第一资源部署请求消息中携带与所述虚拟资源对应的可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量;The management node sends a first resource deployment request message to the VIM, where the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, the virtual resource includes at least one virtual unit, and the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed. The message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent the maximum number of virtual units allowed to be deployed in an area;
所述管理节点接收所述VIM发送的资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。The management node receives a resource deployment response message sent by the VIM, where the resource deployment response message is used to indicate whether the request of the first resource deployment request message succeeds or fails.
本发明实施例提供的虚拟资源部署方法,管理节点通过在第一资源部署请求消息携带可靠性参数,该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,从而使得VIM接收到第一资源部署请求消息后,可以确定在一个区域内能够部署的虚拟单元的最大数量,并按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。In the virtual resource deployment method provided by the embodiment of the present invention, the management node carries a reliability parameter in the first resource deployment request message, and the reliability parameter represents the maximum number of virtual units allowed to be deployed in an area, so that the VIM receives After the first resource deployment request message, the maximum number of virtual units that can be deployed in an area can be determined, and virtual resources can be deployed according to the reliability parameter, thereby avoiding that the VIM may deploy all virtual resources in the prior art. On an area, progress improves the reliability of resource deployment.
在第一方面的第一种可能的实现方式中,In a first possible implementation of the first aspect,
所述可靠性参数的表达形式包括绝对参数、相对参数、比例,以及等级中的至少一种。The expression form of the reliability parameter includes at least one of an absolute parameter, a relative parameter, a ratio, and a grade.
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述管理节点向VIM发送第一资源部署请求消息之前,所述方法还包括:With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, before the management node sends the first resource deployment request message to the VIM, the method further includes:
所述管理节点从所述虚拟资源的预设描述符中获取所述可靠性参数。The management node obtains the reliability parameter from a preset descriptor of the virtual resource.
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,In combination with the second possible implementation manner of the first aspect, in the third possible implementation manner,
所述第一资源部署请求消息为第一资源分配请求消息;The first resource deployment request message is a first resource allocation request message;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源分配请求消息具体用于请求所述VIM分配所述虚拟资源。The first resource allocation request message is specifically used to request the VIM to allocate the virtual resource.
结合第一方面的第二种可能的实现方式,在第四种可能的实现方式中,In combination with the second possible implementation manner of the first aspect, in the fourth possible implementation manner,
所述第一资源部署请求消息具体为第一资源预留请求消息;The first resource deployment request message is specifically a first resource reservation request message;
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源预留请求消息用于请求所述VIM预留所述虚拟资源。The first resource reservation request message is used to request the VIM to reserve the virtual resource.
结合第一方面的第二种可能的实现方式,在第五种可能的实现方式中,In combination with the second possible implementation manner of the first aspect, in the fifth possible implementation manner,
所述第一资源部署请求消息具体为第一资源迁移请求消息;The first resource deployment request message is specifically a first resource migration request message;
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述VIM管理的至少一个区域。The first resource migration request message is used to request the VIM to migrate the virtual resource to at least one area managed by the VIM.
结合第一方面的第二种可能的实现方式至第一方面的第五种可能的实现方式中的任一种实现方式,在第六种可能的实现方式中,With reference to any one of the second possible implementation manner of the first aspect to the fifth possible implementation manner of the first aspect, in the sixth possible implementation manner,
所述管理节点为网络功能虚拟化调度节点NFVO;The management node is a network function virtualization scheduling node NFVO;
所述描述符为虚拟网络功能描述符VNFD,或者所述描述符为网络服务描述符为NSD。The descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor and NSD.
结合第一方面的第三种可能的实现方式,在第七种可能的实现方式中,In combination with the third possible implementation manner of the first aspect, in the seventh possible implementation manner,
所述管理节点为虚拟网络功能管理节点VNFM;The management node is a virtual network function management node VNFM;
所述描述符为VNFD。The descriptor is VNFD.
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第七种可能的实现方式中的任一种实现方式,在第八种可能的实现方式中,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述VIM管理的至少一个区域的数量,所述方法还包括:With reference to the first aspect or any one of the first possible implementation manner of the first aspect to the seventh possible implementation manner of the first aspect, in the eighth possible implementation manner, the resource deployment The response message is used to indicate that the request of the first resource deployment request message fails, and the resource deployment response message carries the quantity of at least one area managed by the VIM, and the method further includes:
所述管理节点根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量。The management node changes the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the changed reliability parameter satisfies the number of the at least one area.
所述管理节点向所述VIM发送第二资源部署请求消息,所述第二资源部署请求消息中携带所述更改后的所述可靠性参数。The management node sends a second resource deployment request message to the VIM, where the second resource deployment request message carries the changed reliability parameter.
结合第一方面的第八种可能的实现方式,在第九种可能的实现方式中,当所述管理节点为VNFM时,With reference to the eighth possible implementation manner of the first aspect, in the ninth possible implementation manner, when the management node is a VNFM,
所述管理节点根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,包括:The management node modifies the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, including:
所述VNFM向NFVO发送所述至少一个区域的数量和所述至少一个虚拟单元的数量,所述至少一个区域的数量和所述至少一个虚拟单元的数量用于所述NFVO更改所述可靠性参数;The VNFM sends the number of the at least one area and the number of the at least one virtual unit to the NFVO, the number of the at least one area and the number of the at least one virtual unit for the NFVO to change the reliability parameter ;
所述VNFM接收所述NFVO发送的更改后的所述可靠性参数,所述更改后的所述可靠性参数为所述NFVO根据所述至少一个区域的数量和所述至少一个虚拟单元的数量确定的。The VNFM receives the modified reliability parameter sent by the NFVO, where the modified reliability parameter is determined by the NFVO according to the number of the at least one area and the number of the at least one virtual unit of.
结合第一方面的第八种可能的实现方式或第一方面的第九种可能的实现方式,在第十种可能的实现方式中,所述管理节点根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,包括:With reference to the eighth possible implementation manner of the first aspect or the ninth possible implementation manner of the first aspect, in a tenth possible implementation manner, the management node The number of at least one virtual unit, changing the reliability parameter, includes:
所述管理节点查询所述描述符中预设的开关项是否开启,所述开关项用于指示是否允许所述管理节点更改所述可靠性参数;The management node queries whether a preset switch item in the descriptor is turned on, and the switch item is used to indicate whether the management node is allowed to change the reliability parameter;
若所述开关项开启,所述管理节点则根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数。If the switch item is turned on, the management node changes the reliability parameter according to the quantity of the at least one area and the quantity of the at least one virtual unit.
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第七种可能的实现方式中的任一种实现方式,在第十一种可能的实现方式中,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带更改后的所述可靠性参数,所述方法还包括:With reference to the first aspect or any one of the first possible implementation manner of the first aspect to the seventh possible implementation manner of the first aspect, in the eleventh possible implementation manner, the resource The deployment response message is used to indicate that the request of the first resource deployment request message fails, and the resource deployment response message carries the changed reliability parameter, and the method further includes:
所述管理节点确定是否允许使用所述更改后的所述可靠性参数;determining, by the management node, whether to allow use of the changed reliability parameter;
所述管理节点向所述VIM发送更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数。The management node sends a change response message to the VIM, where the change response message is used to indicate whether the changed reliability parameter is allowed to be used.
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第七种可能的实现方式中的任一种实现方式,在第十二种可能的实现方式中,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功,所述资源部署应答消息中携带满足所述可靠性参数且所述VIM允许的至少一种部署方案,所述方法还包括:With reference to the first aspect or any one of the first possible implementation manner of the first aspect to the seventh possible implementation manner of the first aspect, in the twelfth possible implementation manner, the resource The deployment response message is used to indicate that the request of the first resource deployment request message is successful, and the resource deployment response message carries at least one deployment scheme that satisfies the reliability parameter and is allowed by the VIM, and the method further includes:
所述管理节点从所述至少一种部署方案中确定第一部署方案;The management node determines a first deployment scheme from the at least one deployment scheme;
所述管理节点向所述VIM发送资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述资源部署指示消息用于指示所述VIM根据所述第一部署方案部署所述虚拟资源。The management node sends a resource deployment instruction message to the VIM, where the resource deployment instruction message carries the first deployment scheme, and the resource deployment instruction message is used to instruct the VIM to deploy all resources according to the first deployment scheme. describe virtual resources.
第二方面,本发明实例提供一种虚拟资源的部署方法,包括:In a second aspect, an example of the present invention provides a method for deploying virtual resources, including:
虚拟机基础设施管理节点VIM接收管理节点发送的第一资源部署请求消息,所述第一资源部署请求消息中携带可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元;The virtual machine infrastructure management node VIM receives the first resource deployment request message sent by the management node, where the first resource deployment request message carries a reliability parameter, and the reliability parameter is used to represent the virtual units that are allowed to be deployed in an area The first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed, and the virtual resource includes at least one virtual unit;
所述VIM根据所述可靠性参数,所述VIM所管理的至少一个区域的数量,以及所述至少一个虚拟单元的数量,确定所述第一资源部署请求消息的请求结果,所述请求结果包括所述第一资源部署请求消息的请求成功或者失败;The VIM determines a request result of the first resource deployment request message according to the reliability parameter, the number of at least one area managed by the VIM, and the number of the at least one virtual unit, where the request result includes The request of the first resource deployment request message succeeds or fails;
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。The VIM sends a resource deployment response message to the management node according to the request result, where the resource deployment response message is used to indicate whether the request of the first resource deployment request message succeeds or fails.
本发明实施例提供的虚拟资源部署方法,VIM接收到管理节点发送的第一资源部署请求消息后,能够根据第一资源部署请求消息中携带的可靠性参数,确定在一个区域内能够部署的虚拟单元的最大数量,从而按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。In the virtual resource deployment method provided by the embodiment of the present invention, after receiving the first resource deployment request message sent by the management node, the VIM can determine the virtual resources that can be deployed in an area according to the reliability parameter carried in the first resource deployment request message The maximum number of units is used, so that virtual resources are deployed according to the reliability parameter, thereby avoiding that the VIM in the prior art may deploy all virtual resources in one area, thereby improving the reliability of resource deployment.
在第二方面的第一种可能的实现方式中,In a first possible implementation of the second aspect,
所述可靠性参数的表现形式包括绝对参数、相对参数、比例,以及等级中的至少一种。The representation form of the reliability parameter includes at least one of an absolute parameter, a relative parameter, a ratio, and a grade.
结合第二方面或第二方面的第一种可能的实现方式,在第三种可能的实现方式中,In combination with the second aspect or the first possible implementation manner of the second aspect, in the third possible implementation manner,
所述第一资源部署请求消息具体为资源预留请求消息;The first resource deployment request message is specifically a resource reservation request message;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源预留请求消息用于请求所述VIM预留所述虚拟资源。The resource reservation request message is used to request the VIM to reserve the virtual resource.
结合第二方面或第二方面的第一种可能的实现方式,在第四种可能的实现方式中,In combination with the second aspect or the first possible implementation manner of the second aspect, in the fourth possible implementation manner,
所述第一资源部署请求消息具体为资源分配请求消息;The first resource deployment request message is specifically a resource allocation request message;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源分配请求消息用于请求所述VIM分配所述虚拟资源。The resource allocation request message is used to request the VIM to allocate the virtual resource.
结合第二方面或第二方面的第一种可能的实现方式,在第五种可能的实现方式中,In combination with the second aspect or the first possible implementation manner of the second aspect, in the fifth possible implementation manner,
所述第一资源部署请求消息具体为资源迁移请求消息;The first resource deployment request message is specifically a resource migration request message;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述至少一个区域上。The resource migration request message is used to request the VIM to migrate the virtual resource to the at least one area.
结合第二方面第三种可能的实现方式至第二方面的第五种可能的实现方式中的任一种实现方式,在第六种可能的实现方式中,In combination with any one of the third possible implementation manner of the second aspect to the fifth possible implementation manner of the second aspect, in the sixth possible implementation manner,
所述管理节点为网络功能虚拟化调度节点NFVO。The management node is a network function virtualization scheduling node NFVO.
结合第二方面的第三种可能的实现方式,在第七种可能的实现方式中,In combination with the third possible implementation manner of the second aspect, in the seventh possible implementation manner,
所述管理节点为虚拟网络功能管理节点VNFM。The management node is a virtual network function management node VNFM.
结合第二方面或第二方面的第一种可能的实现方式至第二方面的第七种可能的实现方式,在第八种可能的实现方式中,所述VIM根据所述可靠性参数,所述VIM所管理的至少一个区域的数量,以及所述至少一个虚拟单元的数量,确定所述第一资源部署请求消息的请求结果,包括:With reference to the second aspect or the first possible implementation manner of the second aspect to the seventh possible implementation manner of the second aspect, in the eighth possible implementation manner, the VIM, according to the reliability parameter, The quantity of at least one area managed by the VIM, and the quantity of the at least one virtual unit, determine the request result of the first resource deployment request message, including:
所述VIM根据所述至少一个虚拟单元的数量、所述至少一个区域的数量,以及所述可靠性参数,确定所述至少一个区域的数量是否满足所述可靠性参数;The VIM determines whether the number of the at least one area satisfies the reliability parameter according to the number of the at least one virtual unit, the number of the at least one area, and the reliability parameter;
若所述VIM确定所述至少一个区域的数量不满足所述可靠性参数,所述VIM则确定所述第一资源部署请求消息的请求失败;If the VIM determines that the number of the at least one area does not meet the reliability parameter, the VIM determines that the request for the first resource deployment request message fails;
若所述VIM确定所述至少一个区域的数量满足所述可靠性参数,所述VIM则确定所述第一资源部署请求消息的请求成功。If the VIM determines that the number of the at least one area satisfies the reliability parameter, the VIM determines that the request of the first resource deployment request message is successful.
结合第二方面的第八种可能的实现方式,在第九种可能的实现方式中,In combination with the eighth possible implementation manner of the second aspect, in the ninth possible implementation manner,
若所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述至少一个区域的数量,所述至少一个区域的数量用于所述管理节点更改所述可靠性参数,以使得所述更改后的所述可靠性参数满足所述区域的数量。If the request of the first resource deployment request message fails, the resource deployment response message is used to indicate that the request of the first resource deployment request message fails, and the resource deployment response message carries the number of the at least one area , the quantity of the at least one area is used by the management node to change the reliability parameter, so that the changed reliability parameter satisfies the quantity of the area.
结合第二方面的第八种可能的实现方式,在第十种可能的实现方式中,若所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,With reference to the eighth possible implementation manner of the second aspect, in a tenth possible implementation manner, if the request of the first resource deployment request message fails, the resource deployment response message is used to indicate the first resource deployment response message. The request for the resource deployment request message failed,
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之前,所述方法还包括:Before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
所述VIM根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量;The VIM changes the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the changed reliability parameter satisfies the number of the at least one area;
所述资源部署应答消息中携带所述更改后的所述可靠性参数;The resource deployment response message carries the changed reliability parameter;
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之后,所述方法还包括:After the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
所述VIM接收所述管理节点发送的更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数;receiving, by the VIM, a modification response message sent by the management node, where the modification response message is used to indicate whether the modified reliability parameter is allowed to be used;
若所述更改响应消息用于指示允许使用所述更改后的所述可靠性参数,所述VIM则根据所述更改后的所述可靠性参数部署所述虚拟资源。If the modification response message is used to indicate that the modified reliability parameter is allowed to be used, the VIM deploys the virtual resource according to the modified reliability parameter.
结合第二方面的第八种可能的实现方式,在第十一种可能的实现方式中,With reference to the eighth possible implementation manner of the second aspect, in the eleventh possible implementation manner,
若所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功;If the request of the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful;
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之前,所述方法还包括:Before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
所述VIM根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案;The VIM determines, according to the number of the at least one virtual unit and the at least one area, at least one deployment scheme that satisfies the reliability parameter and is allowed by the VIM;
所述资源部署应答消息中携带所述至少一种部署方案;The resource deployment response message carries the at least one deployment scheme;
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之后,所述方法还包括:After the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
所述VIM接收所述管理节点发送的资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述第一部署方案为所述管理节点接收到所述资源部署应答消息后,从所述至少一种部署方案中确定的;The VIM receives the resource deployment instruction message sent by the management node, where the resource deployment instruction message carries the first deployment solution, and the first deployment solution is after the management node receives the resource deployment response message. , determined from the at least one deployment scheme;
所述VIM根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The VIM deploys the virtual resource on the at least one area according to the first deployment scheme.
结合第二方面的第八种可能的实现方式,在第十二种可能的实现方式中,所述第一资源部署请求消息中还携带部署方案选择规则,所述部署方案选择规则用于所述VIM从所述至少一种部署方案选择第一部署方案;With reference to the eighth possible implementation manner of the second aspect, in a twelfth possible implementation manner, the first resource deployment request message also carries a deployment scheme selection rule, and the deployment scheme selection rule is used for the The VIM selects a first deployment scenario from the at least one deployment scenario;
若所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功;If the request of the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful;
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之前,所述方法还包括:Before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
所述VIM根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案;The VIM determines, according to the number of the at least one virtual unit and the at least one area, at least one deployment scheme that satisfies the reliability parameter and is allowed by the VIM;
所述VIM根据所述部署方案选择规则从所述至少一种部署方案选择所述第一部署方案;The VIM selects the first deployment scheme from the at least one deployment scheme according to the deployment scheme selection rule;
所述VIM根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The VIM deploys the virtual resource on the at least one area according to the first deployment scheme.
第三方面,本发明实施例提供一种管理节点,包括:In a third aspect, an embodiment of the present invention provides a management node, including:
发送单元,用于向虚拟机基础设施管理节点VIM发送第一资源部署请求消息,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元,所述第一资源部署请求消息中携带与所述虚拟资源对应的可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量;A sending unit, configured to send a first resource deployment request message to the virtual machine infrastructure management node VIM, where the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, where the virtual resource includes at least one virtual resource unit, the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent the maximum number of virtual units allowed to be deployed in an area;
接收单元,用于管理节点接收所述VIM发送的资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。A receiving unit, configured for the management node to receive a resource deployment response message sent by the VIM, where the resource deployment response message is used to indicate whether the request of the first resource deployment request message succeeds or fails.
本发明实施例提供的管理节点的技术效果可以参见上述第一方面管理节点执行的虚拟资源的部署方法中描述的管理节点的技术效果,此处不再赘述。For the technical effect of the management node provided by the embodiment of the present invention, reference may be made to the technical effect of the management node described in the method for deploying virtual resources performed by the management node in the first aspect, which is not repeated here.
在第三方面的第一种可能的实现方式中,In a first possible implementation of the third aspect,
所述发送单元发送的所述可靠性参数的表达形式包括绝对参数、相对参数、比例,以及等级中的至少一种。The expression form of the reliability parameter sent by the sending unit includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
结合第三方面或第三方面的第一种可能的实现方式,在第二种可能的实现方式中,所述管理节点还包括获取单元,With reference to the third aspect or the first possible implementation manner of the third aspect, in a second possible implementation manner, the management node further includes an acquisition unit,
所述获取单元,用于从所述虚拟资源的预设描述符中获取所述可靠性参数。The obtaining unit is configured to obtain the reliability parameter from the preset descriptor of the virtual resource.
结合第三方面的第二种可能的实现方式,在第三种可能的实现方式中,In combination with the second possible implementation manner of the third aspect, in the third possible implementation manner,
所述发送单元发送的所述第一资源部署请求消息为第一资源分配请求消息;The first resource deployment request message sent by the sending unit is a first resource allocation request message;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源分配请求消息具体用于请求所述VIM分配所述虚拟资源。The first resource allocation request message is specifically used to request the VIM to allocate the virtual resource.
结合第三方面的第二种可能的实现方式,在第四种可能的实现方式中,In combination with the second possible implementation manner of the third aspect, in the fourth possible implementation manner,
所述发送单元发送的所述第一资源部署请求消息具体为第一资源预留请求消息;The first resource deployment request message sent by the sending unit is specifically a first resource reservation request message;
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源预留请求消息用于请求所述VIM预留所述虚拟资源。The first resource reservation request message is used to request the VIM to reserve the virtual resource.
结合第三方面的第二种可能的实现方式,在第五种可能的实现方式中,In combination with the second possible implementation manner of the third aspect, in the fifth possible implementation manner,
所述发送单元发送的所述第一资源部署请求消息具体为第一资源迁移请求消息;The first resource deployment request message sent by the sending unit is specifically a first resource migration request message;
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述VIM管理的至少一个区域。The first resource migration request message is used to request the VIM to migrate the virtual resource to at least one area managed by the VIM.
结合第三方面的第二种可能的实现方式至第三方面的第五种可能的实现方式中的任一种实现方式,在第六种可能的实现方式中,With reference to any one of the second possible implementation manner of the third aspect to the fifth possible implementation manner of the third aspect, in the sixth possible implementation manner,
所述管理节点为NFVO;The management node is NFVO;
所述描述符为虚拟网络功能描述符VNFD,或者所述描述符为网络服务描述符为NSD。The descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor and NSD.
结合第三方面的第三种可能的实现方式,在第七种可能的实现方式中,In combination with the third possible implementation manner of the third aspect, in the seventh possible implementation manner,
所述管理节点为虚拟VNFM;The management node is a virtual VNFM;
所述描述符为VNFD。The descriptor is VNFD.
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第七种可能的实现方式中的任一种实现方式,在第八种可能的实现方式中,所述接收单元接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述VIM管理的至少一个区域的数量,所述管理节点还包括更改单元:With reference to the third aspect or any one of the first possible implementation manner of the third aspect to the seventh possible implementation manner of the third aspect, in the eighth possible implementation manner, the receiving unit The received resource deployment response message is used to indicate that the request of the first resource deployment request message fails, the resource deployment response message carries the quantity of at least one area managed by the VIM, and the management node further includes a modification unit :
所述更改单元,用于根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量。The modifying unit is configured to modify the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the modified reliability parameter satisfies the number of the at least one area.
所述发送单元,还用于向所述VIM发送第二资源部署请求消息,所述第二资源部署请求消息中携带所述更改后的所述可靠性参数。The sending unit is further configured to send a second resource deployment request message to the VIM, where the second resource deployment request message carries the changed reliability parameter.
结合第三方面的第八种可能的实现方式,在第九种可能的实现方式中,当所述管理节点为VNFM时,With reference to the eighth possible implementation manner of the third aspect, in the ninth possible implementation manner, when the management node is a VNFM,
所述更改单元,具体用于向NFVO发送所述至少一个区域的数量和所述至少一个虚拟单元的数量,所述至少一个区域的数量和所述至少一个虚拟单元的数量用于所述NFVO更改所述可靠性参数;The modification unit is specifically configured to send the quantity of the at least one area and the quantity of the at least one virtual unit to the NFVO, and the quantity of the at least one area and the quantity of the at least one virtual unit are used for the NFVO modification the reliability parameter;
所述更改单元,还用于接收所述NFVO发送的更改后的所述可靠性参数,所述更改后的所述可靠性参数为所述NFVO根据所述至少一个区域的数量和所述至少一个虚拟单元的数量确定的。The modification unit is further configured to receive the modified reliability parameter sent by the NFVO, where the modified reliability parameter is the NFVO according to the number of the at least one area and the at least one The number of virtual units is determined.
结合第三方面的第八种可能的实现方式或第三方面的第九种可能的实现方式,在第十种可能的实现方式中,In combination with the eighth possible implementation manner of the third aspect or the ninth possible implementation manner of the third aspect, in the tenth possible implementation manner,
所述更改单元,具体用于查询所述描述符中预设的开关项是否开启,所述开关项用于指示是否允许所述管理节点更改所述可靠性参数;若所述开关项开启,则根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数。The modification unit is specifically configured to query whether a preset switch item in the descriptor is enabled, and the switch item is used to indicate whether the management node is allowed to modify the reliability parameter; if the switch item is enabled, then The reliability parameter is changed according to the number of the at least one area and the number of the at least one virtual unit.
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第七种可能的实现方式中的任一种实现方式,在第十一种可能的实现方式中,所述接收单元接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带更改后的所述可靠性参数,所述管理单元还包括确定单元,With reference to the third aspect or any one of the first possible implementation manner of the third aspect to the seventh possible implementation manner of the third aspect, in the eleventh possible implementation manner, the receiving The resource deployment response message received by the unit is used to indicate that the request of the first resource deployment request message fails, the resource deployment response message carries the changed reliability parameter, and the management unit further includes a determination unit,
所述确定单元,用于确定是否允许使用所述更改后的所述可靠性参数;the determining unit, configured to determine whether the modified reliability parameter is allowed to be used;
所述发送单元,还用于向所述VIM发送更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数。The sending unit is further configured to send a modification response message to the VIM, where the modification response message is used to indicate whether the modified reliability parameter is allowed to be used.
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第七种可能的实现方式中的任一种实现方式,在第十一种可能的实现方式中,所述接收单元接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功,所述资源部署应答消息中携带满足所述可靠性参数且所述VIM允许的至少一种部署方案,所述管理节点还包括确定单元:With reference to the third aspect or any one of the first possible implementation manner of the third aspect to the seventh possible implementation manner of the third aspect, in the eleventh possible implementation manner, the receiving The resource deployment response message received by the unit is used to indicate that the request of the first resource deployment request message is successful, and the resource deployment response message carries at least one deployment scheme that satisfies the reliability parameter and is allowed by the VIM, The management node further includes a determining unit:
所述确定单元,用于从接收单元接收的所述至少一种部署方案中确定第一部署方案;the determining unit, configured to determine a first deployment scheme from the at least one deployment scheme received by the receiving unit;
所述发送单元,还用于向所述VIM发送资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述资源部署指示消息用于指示所述VIM根据所述第一部署方案部署所述虚拟资源。The sending unit is further configured to send a resource deployment instruction message to the VIM, where the resource deployment instruction message carries the first deployment scheme, and the resource deployment instruction message is used to instruct the VIM to perform the first deployment according to the first deployment scheme. The deployment scheme deploys the virtual resource.
第四方面,本发明实例提供一种VIM,包括:In a fourth aspect, an example of the present invention provides a VIM, comprising:
接收单元,用于接收管理节点发送的第一资源部署请求消息,所述第一资源部署请求消息中携带可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元;A receiving unit, configured to receive a first resource deployment request message sent by a management node, where the first resource deployment request message carries a reliability parameter, where the reliability parameter is used to represent the maximum number of virtual units allowed to be deployed in an area number, the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed, and the virtual resource includes at least one virtual unit;
确定单元,用于根据接收单元接收的所述可靠性参数,所述VIM所管理的至少一个区域的数量,以及所述至少一个虚拟单元的数量,确定所述第一资源部署请求消息的请求结果,所述请求结果包括所述第一资源部署请求消息的请求成功或者失败;a determining unit, configured to determine a request result of the first resource deployment request message according to the reliability parameter received by the receiving unit, the number of at least one area managed by the VIM, and the number of the at least one virtual unit , the request result includes the request success or failure of the first resource deployment request message;
发送单元,用于根据确定单元确定的所述请求结果向所述管理节点发送资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。A sending unit, configured to send a resource deployment response message to the management node according to the request result determined by the determining unit, where the resource deployment response message is used to indicate whether the request of the first resource deployment request message succeeds or fails.
本发明实施例提供的VIM的技术效果可以参见上述第二方面VIM执行的虚拟资源的部署方法中描述的管理节点的技术效果,此处不再赘述。For the technical effect of the VIM provided by the embodiment of the present invention, reference may be made to the technical effect of the management node described in the method for deploying virtual resources performed by the VIM in the second aspect, and details are not repeated here.
在第四方面的第一种可能的实现方式中,In a first possible implementation manner of the fourth aspect,
所述接收单元接收的所述可靠性参数的表现形式包括绝对参数、相对参数、比例,以及等级中的至少一种。The representation form of the reliability parameter received by the receiving unit includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
结合第四方面或第二方面的第一种可能的实现方式,在第三种可能的实现方式中,In combination with the fourth aspect or the first possible implementation manner of the second aspect, in the third possible implementation manner,
所述接收单元接收的所述第一资源部署请求消息具体为资源预留请求消息;The first resource deployment request message received by the receiving unit is specifically a resource reservation request message;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源预留请求消息用于请求所述VIM预留所述虚拟资源。The resource reservation request message is used to request the VIM to reserve the virtual resource.
结合第四方面或第四方面的第一种可能的实现方式,在第四种可能的实现方式中,In combination with the fourth aspect or the first possible implementation manner of the fourth aspect, in the fourth possible implementation manner,
所述接收单元接收的所述第一资源部署请求消息具体为资源分配请求消息;The first resource deployment request message received by the receiving unit is specifically a resource allocation request message;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源分配请求消息用于请求所述VIM分配所述虚拟资源。The resource allocation request message is used to request the VIM to allocate the virtual resource.
结合第四方面或第四方面的第一种可能的实现方式,在第五种可能的实现方式中,In combination with the fourth aspect or the first possible implementation manner of the fourth aspect, in the fifth possible implementation manner,
所述接收单元接收的所述第一资源部署请求消息具体为资源迁移请求消息;The first resource deployment request message received by the receiving unit is specifically a resource migration request message;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述至少一个区域上。The resource migration request message is used to request the VIM to migrate the virtual resource to the at least one area.
结合第四方面第三种可能的实现方式至第四方面的第五种可能的实现方式中的任一种实现方式,在第六种可能的实现方式中,With reference to any one of the third possible implementation manner of the fourth aspect to the fifth possible implementation manner of the fourth aspect, in the sixth possible implementation manner,
所述管理节点为NFVO。The management node is NFVO.
结合第四方面的第三种可能的实现方式,在第七种可能的实现方式中,In combination with the third possible implementation manner of the fourth aspect, in the seventh possible implementation manner,
所述管理节点为VNFM。The management node is a VNFM.
结合第四方面或第四方面的第一种可能的实现方式至第四方面的第七种可能的实现方式,在第八种可能的实现方式中,With reference to the fourth aspect or the first possible implementation manner of the fourth aspect to the seventh possible implementation manner of the fourth aspect, in the eighth possible implementation manner,
所述确定单元,具体用于所述VIM根据所述至少一个虚拟单元的数量、所述至少一个区域的数量,以及所述可靠性参数,确定所述至少一个区域的数量是否满足所述可靠性参数;The determining unit is specifically configured for the VIM to determine whether the number of the at least one area satisfies the reliability according to the number of the at least one virtual unit, the number of the at least one area, and the reliability parameter parameter;
若确定所述至少一个区域的数量不满足所述可靠性参数,则确定所述第一资源部署请求消息的请求失败;If it is determined that the number of the at least one area does not satisfy the reliability parameter, determining that the request for the first resource deployment request message fails;
若确定所述至少一个区域的数量满足所述可靠性参数,则确定所述第一资源部署请求消息的请求成功。If it is determined that the number of the at least one area satisfies the reliability parameter, it is determined that the request of the first resource deployment request message is successful.
结合第四方面的第八种可能的实现方式,在第九种可能的实现方式中,In combination with the eighth possible implementation manner of the fourth aspect, in the ninth possible implementation manner,
若所述确定单元确定所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述至少一个区域的数量,所述至少一个区域的数量用于所述管理节点更改所述可靠性参数,以使得所述更改后的所述可靠性参数满足所述区域的数量。If the determining unit determines that the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the The number of at least one area, the number of the at least one area is used by the management node to modify the reliability parameter, so that the changed reliability parameter satisfies the number of the area.
结合第四方面的第八种可能的实现方式,在第十种可能的实现方式中,若所述确定单元确定所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述VIM还包括更改单元和部署单元,With reference to the eighth possible implementation manner of the fourth aspect, in a tenth possible implementation manner, if the determining unit determines that the request of the first resource deployment request message fails, the resource deployment response message is used for indicating that the request for the first resource deployment request message fails, the VIM further includes a modification unit and a deployment unit,
所述更改单元,用于根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量;the changing unit, configured to change the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the changed reliability parameter satisfies the number of the at least one area;
所述发送单元发送的所述资源部署应答消息中携带所述更改后的所述可靠性参数;The resource deployment response message sent by the sending unit carries the changed reliability parameter;
所述接收单元,还用于在所述发送单元向所述管理节点发送资源部署应答消息之后,接收所述管理节点发送的更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数;The receiving unit is further configured to, after the sending unit sends a resource deployment response message to the management node, receive a change response message sent by the management node, where the change response message is used to indicate whether to allow the use of the change the reliability parameters after the
所述部署单元,用于若所述接收单元接收的所述更改响应消息用于指示允许使用所述更改后的所述可靠性参数,所述VIM则根据所述更改后的所述可靠性参数部署所述虚拟资源。The deploying unit is configured to, if the modification response message received by the receiving unit is used to indicate that the modified reliability parameter is allowed to be used, the VIM is configured to perform the modification according to the modified reliability parameter. Deploy the virtual resource.
结合第四方面的第八种可能的实现方式,在第十种可能的实现方式中,With reference to the eighth possible implementation manner of the fourth aspect, in the tenth possible implementation manner,
若所述确定单元确定所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功;If the determining unit determines that the request of the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful;
所述确定单元,还用于在所述发送单元根据所述请求结果向所述管理节点发送资源部署应答消息之前,根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案;The determining unit is further configured to, before the sending unit sends a resource deployment response message to the management node according to the request result, determine, according to the number of the at least one virtual unit and the at least one area, that the reliability parameters and at least one deployment scheme allowed by the VIM;
所述发送单元发送的所述资源部署应答消息中携带所述至少一种部署方案;The resource deployment response message sent by the sending unit carries the at least one deployment scheme;
所述接收单元,还用于在所述发送单元根据所述请求结果向所述管理节点发送资源部署应答消息之前,接收所述管理节点发送的资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述第一部署方案为所述管理节点接收到所述资源部署应答消息后,从所述至少一种部署方案中确定的;The receiving unit is further configured to, before the sending unit sends a resource deployment response message to the management node according to the request result, receive a resource deployment indication message sent by the management node, where the resource deployment indication message carries the first deployment scheme, where the first deployment scheme is determined from the at least one deployment scheme after the management node receives the resource deployment response message;
所述VIM还包括部署单元,The VIM also includes a deployment unit,
所述部署单元,用于根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The deployment unit is configured to deploy the virtual resource on the at least one area according to the first deployment scheme.
结合第四方面的第八种可能的实现方式,在第十一种可能的实现方式中,所述接收单元接收的所述第一资源部署请求消息中还携带部署方案选择规则,所述部署方案选择规则用于所述VIM从所述至少一种部署方案选择第一部署方案;With reference to the eighth possible implementation manner of the fourth aspect, in an eleventh possible implementation manner, the first resource deployment request message received by the receiving unit further carries a deployment scheme selection rule, and the deployment scheme a selection rule for the VIM to select a first deployment scenario from the at least one deployment scenario;
若所述确定单元确定所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功;If the determining unit determines that the request of the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful;
所述确定单元,还用于在所述发送单元根据所述请求结果向所述管理节点发送资源部署应答消息之前,根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案,并根据所述部署方案选择规则从所述至少一种部署方案选择所述第一部署方案;The determining unit is further configured to, before the sending unit sends a resource deployment response message to the management node according to the request result, determine, according to the number of the at least one virtual unit and the at least one area, that the reliability parameters and at least one deployment scheme allowed by the VIM, and select the first deployment scheme from the at least one deployment scheme according to the deployment scheme selection rule;
所述VIM还包括部署单元,The VIM also includes a deployment unit,
所述部署单元,用于根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The deployment unit is configured to deploy the virtual resource on the at least one area according to the first deployment scheme.
第五方面,本发明实例提供一种管理节点,包括:处理器、存储器、系统总线和通信接口;In a fifth aspect, an example of the present invention provides a management node, including: a processor, a memory, a system bus, and a communication interface;
所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述系统总线连接,当所述管理节点运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述管理节点执行第一方面或第一方面的任一种实现方式所述的虚拟资源的部署方法。The memory is used to store computer-executed instructions, the processor and the memory are connected through the system bus, and when the management node is running, the processor executes the computer-executed instructions stored in the memory to The management node is caused to execute the method for deploying virtual resources according to the first aspect or any implementation manner of the first aspect.
第六方面,本发明实施例提供一种VIM,包括:处理器、存储器、系统总线和通信接口;In a sixth aspect, an embodiment of the present invention provides a VIM, including: a processor, a memory, a system bus, and a communication interface;
所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述系统总线连接,当所述VIM运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述VIM执行第二方面或第二方面的任一种实现方式所述的虚拟资源的部署方法。The memory is used to store computer-executed instructions, the processor and the memory are connected through the system bus, and when the VIM is running, the processor executes the computer-executed instructions stored in the memory, so that The VIM executes the method for deploying virtual resources according to the second aspect or any implementation manner of the second aspect.
第七方面,本发明实施例提供一种通信系统,包括:In a seventh aspect, an embodiment of the present invention provides a communication system, including:
如上述第三方面或第三方面的任一种实现方式所示的管理节点,和如上述第四方面或第四方面的任一种实现方式所示的VIM;或者,The management node as shown in the above third aspect or any implementation manner of the third aspect, and the VIM as shown in the foregoing fourth aspect or any implementation manner of the fourth aspect; or,
如上述第五方面或第五方面的任一种实现方式所示的管理节点,和如上述第六方面或第六方面的任一种实现方式所示的VIM。The management node as shown in the fifth aspect or any implementation manner of the fifth aspect, and the VIM as shown in the sixth aspect or any implementation manner of the sixth aspect.
本发明实施例提供的通信系统中,管理节点能够将可靠性参数携带在第一资源部署请求消息中,由于该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,因此VIM VIM接收到第一资源部署请求消息后,可以确定在一个区域内能够部署的虚拟单元的最大数量,并按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。In the communication system provided by the embodiment of the present invention, the management node can carry the reliability parameter in the first resource deployment request message. Since the reliability parameter represents the maximum number of virtual units allowed to be deployed in an area, the VIM VIM After receiving the first resource deployment request message, the maximum number of virtual units that can be deployed in an area can be determined, and virtual resources can be deployed according to the reliability parameter, thereby avoiding that the VIM in the prior art may allocate all virtual units. The resources are deployed in one area, which improves the reliability of resource deployment.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative efforts.
图1为本发明实施例提供的一种NFV系统框图;FIG. 1 is a block diagram of an NFV system provided by an embodiment of the present invention;
图2为本发明实施例提供的一种虚拟资源的部署方法的交互图一,FIG. 2 is an interaction diagram 1 of a method for deploying virtual resources according to an embodiment of the present invention,
图3为本发明实施例提供的一种虚拟资源的部署方法的交互图二;FIG. 3 is an interaction diagram 2 of a method for deploying virtual resources according to an embodiment of the present invention;
图4为本发明实施例提供的一种虚拟资源的部署方法的交互图三;FIG. 4 is an interaction diagram 3 of a method for deploying virtual resources according to an embodiment of the present invention;
图5为本发明实施例提供的一种虚拟资源的部署方法的交互图四;FIG. 5 is an interaction diagram 4 of a method for deploying virtual resources according to an embodiment of the present invention;
图6为本发明实施例提供的一种虚拟资源的部署方法的交互图五;FIG. 6 is an interaction diagram 5 of a method for deploying virtual resources according to an embodiment of the present invention;
图7为本发明实施例提供的一种管理节点的结构示意图一;FIG. 7 is a schematic structural diagram 1 of a management node according to an embodiment of the present invention;
图8为本发明实施例提供的一种管理节点的结构示意图二;FIG. 8 is a second schematic structural diagram of a management node according to an embodiment of the present invention;
图9为本发明实施例提供的一种管理节点的结构示意图三;FIG. 9 is a third schematic structural diagram of a management node according to an embodiment of the present invention;
图10为本发明实施例提供的一种VIM的结构示意图一;10 is a schematic structural diagram 1 of a VIM provided by an embodiment of the present invention;
图11为本发明实施例提供的一种VIM的结构示意图二;FIG. 11 is a second schematic structural diagram of a VIM according to an embodiment of the present invention;
图12为本发明实施例提供的一种管理节点的硬件结构示意图;12 is a schematic diagram of a hardware structure of a management node according to an embodiment of the present invention;
图13为本发明实施例提供的一种VIM的硬件结构示意图;13 is a schematic diagram of a hardware structure of a VIM provided by an embodiment of the present invention;
图14为本发明实施例提供的一种通信系统的框图。FIG. 14 is a block diagram of a communication system according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
如图1所示,为一种NFV系统框图。该NFV系统包括:网络功能虚拟化调度节点(英文:network function virtualization orchestrator,缩写:NFVO)、虚拟网络功能管理节点(英文:virtualized network function manager,VNFM)、虚拟机基础设施管理节点(英文:virtualized infrastructure manager,缩写:VIM)、运营支撑系统(英文:operationssupport system,缩写:OSS)或业务支撑系统(英文:business support system,缩写:BSS)、网元管理节点(英文:element manager,缩写:EM)、VNF、虚拟网络功能基础设施(英文:network function virtualization infrastructure,缩写:NFVI)、网络服务(英文:network service,缩写:NS)目录,以及VNF目录等。As shown in Figure 1, it is a block diagram of an NFV system. The NFV system includes: network function virtualization orchestrator (English: network function virtualization orchestrator, abbreviation: NFVO), virtual network function management node (English: virtualized network function manager, VNFM), virtual machine infrastructure management node (English: virtualized infrastructure manager, abbreviation: VIM), operation support system (English: operationssupport system, abbreviation: OSS) or business support system (English: business support system, abbreviation: BSS), network element management node (English: element manager, abbreviation: EM ), VNF, virtual network function infrastructure (English: network function virtualization infrastructure, abbreviation: NFVI), network service (English: network service, abbreviation: NS) directory, and VNF directory, etc.
在NFV系统中,NFVO、VNFM以及VIM构成了NFV系统的管理编排(英文:NFVmanagement and orchestration,缩写:NFV-MANO)域,其中,NFVO也可以称为网络功能虚拟化编排者,OSS/BSS都可以称为网络管理节点(英文:network manager,缩写:NM)。In the NFV system, NFVO, VNFM and VIM constitute the management and orchestration (English: NFV management and orchestration, abbreviation: NFV-MANO) domain of the NFV system. It can be called a network management node (English: network manager, abbreviation: NM).
其中,EM为一个或多个VNF进行功能配置、故障管理、功能使用情况的记录、性能统计、安全管理等。The EM performs function configuration, fault management, function usage recording, performance statistics, and security management for one or more VNFs.
VNF是虚拟化的逻辑网元,如电信分组领域的SGSN、MME、GGSN、SGW、PGW等,每种网元都可独立部署,呈现为一个VNF。VNF is a virtualized logical network element, such as SGSN, MME, GGSN, SGW, PGW, etc. in the field of telecom packet. Each network element can be independently deployed and presented as a VNF.
NFVI为VNF提供硬件资源和虚拟化资源及其管理,以及虚拟化运行环境。NFVI provides hardware resources and virtualized resources and their management for VNFs, as well as a virtualized operating environment.
NFVO负责NS的生命周期管理,且能够通过指示VIM对NFVI的资源进行编排。NFVO is responsible for the life cycle management of NS, and can orchestrate the resources of NFVI by instructing VIM.
VNFM负责VNF的生命周期管理,每个VNF都有一个关联的VNFM。一个VNFM可能管理一个VNF,也可能管理多个相同类型甚至不同类型的VNF。The VNFM is responsible for the lifecycle management of VNFs, and each VNF has an associated VNFM. A VNFM may manage one VNF, or it may manage multiple VNFs of the same type or even different types.
NS目录中存储网络服务描述符(英文:network service descriptor,缩写:NSD),是描述NS的部署和维护行为的模版,包括业务拓扑以及NS的各项特性,其中,业务拓扑包括VNF的各个组成部分及相互间的关系、虚拟链路(英文:virtual links,缩写:VL),以及VNF转发表(英文:VNF forwarding graph,缩写:VNFFG)等,可以由NFVO进行读取。NFVO通常根据VSD对NS进行虚拟资源的部署和维护的操作。The network service descriptor (English: network service descriptor, abbreviation: NSD) is stored in the NS directory, which is a template describing the deployment and maintenance behavior of the NS, including the business topology and various features of the NS, where the business topology includes various components of the VNF. Parts and mutual relationships, virtual links (English: virtual links, abbreviation: VL), and VNF forwarding graph (English: VNF forwarding graph, abbreviation: VNFFG), etc., can be read by NFVO. NFVO usually deploys and maintains virtual resources to the NS according to the VSD.
VNF目录存储VNF描述符(英文:VNF descriptor,缩写:VNFD)、软件镜像、文件等,其中VNFD是描述VNF部署和维护行为的模版,可由VNFM或者NFVO进行读取。VNFM或者NFVO通常根据VNFD对VNF进行虚拟资源的部署和维护的操作。The VNF directory stores VNF descriptors (English: VNF descriptor, abbreviation: VNFD), software images, files, etc., where VNFD is a template describing VNF deployment and maintenance behavior, which can be read by VNFM or NFVO. The VNFM or NFVO usually deploys and maintains virtual resources for the VNF according to the VNFD.
VIM负责控制和管理VNFI基础设施中的资源,包括:计算资源、存储资源、网络资源等等,通常这些资源是一个运营商的基础设施。The VIM is responsible for controlling and managing the resources in the VNFI infrastructure, including computing resources, storage resources, network resources, and so on. Usually, these resources are the infrastructure of an operator.
为了便于理解本发明实施例中的方法流程,下面对下述关键词作进一步解释:In order to facilitate understanding of the method flow in the embodiment of the present invention, the following keywords are further explained below:
虚拟单元为虚拟资源的部署过程中的基本单元,例如,在实例化VNF时,需要对组成该VNF的多个VM进行部署,该多个VM中的每个VM即为一个虚拟单元;在实例化NS时,需要对组成该NS的多个VNF进行部署,该多个VNF中的每个VNF即为一个虚拟单元。A virtual unit is a basic unit in the deployment process of virtual resources. For example, when a VNF is instantiated, multiple VMs that make up the VNF need to be deployed, and each VM in the multiple VMs is a virtual unit; When an NS is created, multiple VNFs that make up the NS need to be deployed, and each VNF in the multiple VNFs is a virtual unit.
区域为虚拟资源的部署过程中对可靠性进行限制的区域范围。例如,对于VNF来讲,一个区域可以指一个主机(英文:host),或者一个机柜(英文:shelve)等,对于NS来讲,一个区域可以指一个郊区的范围,一座城市的范围等具体的地理区域。The region is the region range that limits reliability during the deployment of virtual resources. For example, for VNF, an area can refer to a host (English: host), or a cabinet (English: shelf), etc. For NS, an area can refer to the range of a suburb, the range of a city, etc. geographic area.
可靠性参数具体表现为在对虚拟资源进行部署的过程中,在一个区域上允许部署的虚拟单元的最大数量,可以理解的是,在一个区域上允许部署的虚拟单元的数量越小,该虚拟资源组成的NS或者VNF的可靠性越高。The reliability parameter is specifically expressed as the maximum number of virtual units that can be deployed in an area during the process of deploying virtual resources. It can be understood that the smaller the number of virtual units that can be deployed in an area The reliability of the NS or VNF composed of resources is higher.
需要说明的是,上述NFV系统中的任意一个功能节点可能分布在一个实体设备上,也可能分布在多个实体设备上,NFV系统中的多个功能节点可能分别分布在不同的实体设备上,也可能都分布在同一个实体设备上。可以理解的是,NFV系统中的任意一个功能节点都可能是实体设备内的一个逻辑功能模块,也可能是由多个实体设备组成的一个逻辑功能模块。It should be noted that any functional node in the above-mentioned NFV system may be distributed on one physical device, or may be distributed on multiple physical devices, and multiple functional nodes in the NFV system may be distributed on different physical devices respectively. It may also be distributed on the same physical device. It can be understood that any functional node in the NFV system may be a logical function module in an entity device, or may be a logical function module composed of multiple entity devices.
因此,在本发明实施例中,可以由一个实体设备执行本发明实施例提供的方法中的各个步骤,可以由多个实体设备协作执行本发明实施例提供的方法中的各个步骤,对此本发明不做限定。Therefore, in this embodiment of the present invention, each step in the method provided by the embodiment of the present invention may be performed by one entity device, and each step in the method provided by the embodiment of the present invention may be performed by multiple entity devices in cooperation. Inventions are not limited.
进一步的,为了更清楚地介绍本发明提供的虚拟资源的部署方法,下文中均以逻辑功能模块(即NFV系统中的功能节点)作为执行主体或控制对象进行说明,本领域技术人员应当理解,逻辑功能模块在具体实现时依赖于其所在的实体设备上的硬件资源。Further, in order to more clearly introduce the method for deploying virtual resources provided by the present invention, the following description will be made with logical function modules (that is, function nodes in the NFV system) as the execution subject or control object. Those skilled in the art should understand that, The specific implementation of the logical function module depends on the hardware resources on the physical device where it is located.
在本发明实施例中,NFV系统可以应用于长期演进(英文:long term evolution,缩写:LTE)通信系统中,也可以应用于LTE的演进通信系统中,如LTE-A(英文全称:longterm evolution advanced)系统中,还可以应用于WCDMA等第三代移动通信(英文:3rd-Generation,缩写:3G)系统中等,本发明不作限制。In the embodiment of the present invention, the NFV system can be applied to a long term evolution (English: long term evolution, abbreviation: LTE) communication system, and can also be applied to an LTE evolution communication system, such as LTE-A (English full name: longterm evolution) advanced) system, it can also be applied to third-generation mobile communication (English: 3rd-Generation, abbreviation: 3G) systems such as WCDMA, etc., which is not limited in the present invention.
需要说明的是,在本发明实施例中,术语“第一”、“第二”、“第三”仅用于描述目的,用于区分不同的描述对象,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。It should be noted that, in this embodiment of the present invention, the terms "first", "second" and "third" are only used for description purposes and are used to distinguish different description objects, and cannot be understood as indicating or implying that they are relatively important nature or implicitly indicate the number of technical features indicated.
本发明实施例提供一种虚拟资源的部署方法,如图2所示,该方法可以包括:An embodiment of the present invention provides a method for deploying virtual resources. As shown in FIG. 2 , the method may include:
S101、管理节点向VIM发送第一资源部署请求消息,第一资源部署请求消息用于请求VIM部署待部署的虚拟资源,该虚拟资源中包括至少一个虚拟单元,该第一资源部署请求消息中携带与该虚拟资源对应的可靠性参数。S101. The management node sends a first resource deployment request message to the VIM, where the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, the virtual resource includes at least one virtual unit, and the first resource deployment request message carries Reliability parameters corresponding to the virtual resource.
其中,该可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量。Among them, the reliability parameter is used to characterize the maximum number of virtual units allowed to be deployed in an area.
需要说明的是,在本发明实施例中,可靠性参数的表达形式可以包括但不限于绝对参数、相对参数、比例,以及等级中的至少一种。It should be noted that, in this embodiment of the present invention, the expression form of the reliability parameter may include, but is not limited to, at least one of an absolute parameter, a relative parameter, a ratio, and a level.
具体的,例如1、2、5等数值可以表示绝对参数,以绝对参数2为例,表征在同一个区域内最多可以部署2个虚拟单元,例如,实例化某个VNF时,一个主机上最多部署2个组成该VNF的VM,实例化某个NS时,一片郊区范围内最多部署2个组成该NS的VNF。Specifically, values such as 1, 2, and 5 can represent absolute parameters. Taking
10%、20%、30%等数值可以表示相对参数,以相对参数20%为例,表征在一个区域内最多可以部署多个虚拟单元的数量的20%的虚拟单元。例如组成某个VNF的VM的数量为10,当实例化该VNF时,在一个主机上最多部署10*20%=2个VM。Values such as 10%, 20%, and 30% can represent relative parameters. Taking the relative parameter 20% as an example, it represents virtual units that can deploy at most 20% of the number of multiple virtual units in an area. For example, the number of VMs constituting a certain VNF is 10. When the VNF is instantiated, a maximum of 10*20%=2 VMs are deployed on one host.
1/2、1/3、2/5等数值可以表示比例,以比例1/3为例,表征在一个区域内最多可以部署多个虚拟单元的数量的1/3的虚拟单元。例如组成某个NS的VNF的数量为8,当实例化该NS时,在一个主机上最多部署2个VNF(8*1/3取整数)。Values such as 1/2, 1/3, and 2/5 can represent the ratio. Taking the ratio of 1/3 as an example, it represents a virtual unit that can be deployed at most 1/3 of the number of multiple virtual units in an area. For example, the number of VNFs that make up an NS is 8. When the NS is instantiated, a maximum of 2 VNFs (8*1/3 are integers) can be deployed on a host.
可选的,还可以将可靠性划分为多个等级,例如可以将可靠性划分为最高、高、中、低,以及最低五个等级,其分别对应的可靠性参数为0%、25%、50%、75%,以及100%。Optionally, reliability can also be divided into multiple levels, for example, reliability can be divided into five levels: highest, high, medium, low, and lowest, and the corresponding reliability parameters are 0%, 25%, 50%, 75%, and 100%.
需要说明的是,网络维护人员可以预先根据网络预计划的部署情况,在每个描述符中设置相对应的可靠性参数,描述符可以包括VNFD或者NSD。从而当管理节点需要部署待部署的虚拟资源时,可以从与该虚拟资源对应的描述符中获取该可靠性参数,从而将该可靠性参数携带在第一资源部署请求消息发送至VIM发送。It should be noted that the network maintenance personnel may set the corresponding reliability parameter in each descriptor according to the pre-planned deployment situation of the network in advance, and the descriptor may include VNFD or NSD. Therefore, when the management node needs to deploy the virtual resource to be deployed, the reliability parameter can be obtained from the descriptor corresponding to the virtual resource, so that the reliability parameter is carried in the first resource deployment request message and sent to the VIM for transmission.
具体的,可靠性参数可以设置在VNFD中的任意模块中,例如VNF模块的部署描述模版(英文:virtualised development unit,缩写:VDU)、内部虚拟链接(英文:internalvirtuallink descriptor,缩写:IVLD)或IVL描述符(英文:IVL descriptor,缩写:IVLD)等。Specifically, the reliability parameter can be set in any module in the VNFD, such as the deployment description template of the VNF module (English: virtualised development unit, abbreviation: VDU), internal virtual link (English: internal virtuallink descriptor, abbreviation: IVLD) or IVL Descriptor (English: IVL descriptor, abbreviation: IVLD) and so on.
因此,管理节点具体可以从VNFC、VDU、IVL、IVLD,或者部署定制化中获取预设的可靠性参数。Therefore, the management node can obtain preset reliability parameters from VNFC, VDU, IVL, IVLD, or deployment customization.
可靠性参数也可以设置在NS D中的任意模块中,例如VL或者VNFFG等。Reliability parameters can also be set in any module in NS D, such as VL or VNFFG.
因此,管理节点具体可以从VL或者VNFFG中获取预设的可靠性参数。Therefore, the management node can specifically acquire the preset reliability parameter from the VL or the VNFFG.
需要说明的是,在本发明实施例中,管理节点可以为NFVO,也可以VNFM。当管理节点为NFVO时,描述符可以为VNFD,也可以为NSD,NFVO可以通过获取VNFD中的信息对VNF进行虚拟资源的部署,也可以通过获取NSD中的信息对NS进行虚拟资源的部署和维护。It should be noted that, in this embodiment of the present invention, the management node may be an NFVO or a VNFM. When the management node is NFVO, the descriptor can be either VNFD or NSD. NFVO can deploy virtual resources to VNF by acquiring information in VNFD, or deploy and deploy virtual resources to NS by acquiring information in NSD. maintain.
当管理节点为VNFM时,描述符可以为VNFD,VNFM可以通过获取VNFD中的信息对VNF进行虚拟资源的部署和维护。When the management node is a VNFM, the descriptor can be a VNFD, and the VNFM can deploy and maintain virtual resources for the VNF by acquiring the information in the VNFD.
S102、VIM接收管理节点发送的第一资源部署请求消息。S102. The VIM receives the first resource deployment request message sent by the management node.
S103、VIM根据该可靠性参数,该VIM所管理的至少一个区域的数量,以及该至少一个虚拟单元的数量,确定该第一资源部署请求消息的请求结果,该请求结果包括该第一资源部署请求消息的请求成功或者失败。S103. The VIM determines a request result of the first resource deployment request message according to the reliability parameter, the number of at least one area managed by the VIM, and the number of the at least one virtual unit, where the request result includes the first resource deployment The request for the request message succeeded or failed.
需要说明的是,该第一资源部署请求消息的请求成功包括VIM成功按照该第一资源部署请求消息中携带的可靠性参数进行资源部署。该第一资源部署请求消息的请求失败包括VIM无法按照该可靠性参数进行资源部署。It should be noted that the successful request of the first resource deployment request message includes that the VIM successfully deploys resources according to the reliability parameter carried in the first resource deployment request message. The request failure of the first resource deployment request message includes that the VIM cannot perform resource deployment according to the reliability parameter.
具体的,上述S103具体可以包括:Specifically, the above S103 may specifically include:
VIM根据该至少一个虚拟单元的数量、该至少一个区域的数量,以及该可靠性参数,确定该至少一个区域的数量是否满足该可靠性参数。The VIM determines whether the number of the at least one area satisfies the reliability parameter according to the number of the at least one virtual unit, the number of the at least one area, and the reliability parameter.
其中,若VIM确定该至少一个区域的数量不满足该可靠性参数,VIM则确定该第一资源部署请求消息的请求失败。Wherein, if the VIM determines that the number of the at least one area does not satisfy the reliability parameter, the VIM determines that the request for the first resource deployment request message fails.
若VIM确定该至少一个区域的数量满足该可靠性参数,VIM则确定该第一资源部署请求消息的请求成功。If the VIM determines that the number of the at least one area satisfies the reliability parameter, the VIM determines that the request of the first resource deployment request message is successful.
示例性的,为了更好的说明VIM根据该至少一个虚拟单元的数量、该至少一个区域的数量,以及该可靠性参数,确定该至少一个区域的数量是否满足该可靠性参数,下面以该至少一个虚拟单元为8台VM,该可靠性参数为2为例进行示例性的说明。Exemplarily, in order to better illustrate that the VIM determines whether the number of the at least one area satisfies the reliability parameter according to the number of the at least one virtual unit, the number of the at least one area, and the reliability parameter, the following uses the at least one area. One virtual unit is 8 VMs, and the reliability parameter is 2 as an example for illustrative description.
VIM接收到该第一资源部署请求消息后,根据该第一资源部署请求消息确定需要部署8台VM,且可靠性参数为2,则VIM确定部署该8台VM至少需要8/2=4台主机。After the VIM receives the first resource deployment request message, it determines according to the first resource deployment request message that 8 VMs need to be deployed, and the reliability parameter is 2, then the VIM determines that at least 8/2=4 VMs are required to deploy the 8 VMs host.
假设,该VIM所管理的至少一个区域为3台主机,由于在将该8台VM部署在3台主机上时,至少有一台主机上需要部署2台以上的VM,因此并不符合可靠性参数2,而按照可靠性参数2,部署8台VM至少需要4台主机,由于3小于4,因此,VIM确定其管理的主机的数量不满足该可靠性参数,进而VIM确定该第一资源部署请求消息的请求失败,即VIM确定按照该可靠性参数,无法在3台上成功部署该8台VM。Assuming that at least one area managed by the VIM is 3 hosts, since when the 8 VMs are deployed on 3 hosts, at least one host needs to deploy more than 2 VMs, so it does not meet the
假设,该VIM所管理的至少一个区域为5台主机,由于5大于4,因此,VIM确定其管理的主机的数量满足该可靠性参数,进而VIM确定该第一资源部署请求消息的请求成功,即VIM确定按照该可靠性参数,能够该5台主机上成功部署该8台VM。Assuming that at least one area managed by the VIM is 5 hosts, since 5 is greater than 4, the VIM determines that the number of hosts managed by the VIM satisfies the reliability parameter, and then the VIM determines that the request for the first resource deployment request message is successful, That is, the VIM determines that the 8 VMs can be successfully deployed on the 5 hosts according to the reliability parameter.
S104、VIM根据该请求结果向管理节点发送资源部署应答消息,该资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。S104. The VIM sends a resource deployment response message to the management node according to the request result, where the resource deployment response message is used to indicate whether the request of the first resource deployment request message succeeds or fails.
S105、管理节点接收VIM发送的资源部署应答消息。S105. The management node receives the resource deployment response message sent by the VIM.
在本发明实施例中,由于管理节点在向VIM请求资源部署的时,将预设的可靠性参数携带在资源部署请求消息中发送至VIM,从而VIM能够根据该可靠性参数进行虚拟资源的部署,限制了在一个区域上VIM允许部署的虚拟单元的最大数量,从而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。In this embodiment of the present invention, when the management node requests the VIM for resource deployment, the management node carries the preset reliability parameter in the resource deployment request message and sends it to the VIM, so that the VIM can deploy virtual resources according to the reliability parameter , which limits the maximum number of virtual units that the VIM allows to deploy in one area, thereby avoiding that the VIM in the prior art may deploy all virtual resources in one area, thereby improving the reliability of resource deployment.
进一步的,一方面,在该第一资源部署请求消息的请求失败情况下,管理节点和VIM可以执行如下两种后续操作。Further, on the one hand, in the case that the request of the first resource deployment request message fails, the management node and the VIM may perform the following two subsequent operations.
(1)、若VIM确定第一资源部署请求消息的请求失败,则上述资源部署应答消息用于指示该第一资源部署请求消息的请求失败,且该资源部署应答消息中携带VIM所管理的至少一个区域的数量,该至少一个区域的数量用于该管理节点更改可靠性参数,以使得更改后的可靠性参数满足该VIM所管理的区域的数量。(1) If the VIM determines that the request for the first resource deployment request message fails, the above-mentioned resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries at least one resource managed by the VIM. The number of one area, the number of the at least one area is used by the management node to change the reliability parameter, so that the changed reliability parameter satisfies the number of areas managed by the VIM.
具体的,若VIM确定第一资源部署请求消息的请求失败,结合图2,如图3所示,在上述S105之后,该方法还包括:Specifically, if the VIM determines that the request for the first resource deployment request message fails, with reference to FIG. 2, as shown in FIG. 3, after the above S105, the method further includes:
S106、管理节点根据该至少一个区域的数量和该至少一个虚拟单元的数量,更改该可靠性参数,更改后的可靠性参数满足该至少一个区域的数量。S106. The management node changes the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the changed reliability parameter satisfies the number of the at least one area.
示例性的,假设该至少一个虚拟单元包括8台VM,该至少一个区域包括3台主机。当管理节点接收VIM发送的资源部署应答消息后,确定第一资源部署请求消息的请求失败,并确定VIM所管理的主机共3台,进而管理节点可以确定在3台主机上能够成功部署8台VM的部署方案可以包括“008”和“017”,分别表示8台VM均部署在该3台主机中的同1台主机上,和1台VM部署在3台主机中的某1台主机上,另外7台VM部署在3台主机中的另外1台主机上。以此类推,管理节点可以确定的部署方案还包括“026”、“035”、“044”、“116”、“125”、“134”、“224”,以及“233”。Exemplarily, it is assumed that the at least one virtual unit includes 8 VMs, and the at least one area includes 3 hosts. After the management node receives the resource deployment response message sent by the VIM, it determines that the request for the first resource deployment request message fails, and determines that there are 3 hosts managed by the VIM, and the management node can determine that 8 hosts can be successfully deployed on the 3 hosts. The deployment scheme of VM can include "008" and "017", respectively indicating that 8 VMs are deployed on the same host among the 3 hosts, and 1 VM is deployed on a certain host among the 3 hosts. , another 7 VMs are deployed on another 1 of the 3 hosts. By analogy, the deployment scheme that the management node can determine also includes "026", "035", "044", "116", "125", "134", "224", and "233".
由于在一个区域上允许部署的虚拟单元的最大数量越少,可靠性越高,因此,管理节点可以确定在一个区域上部署的虚拟单元最少的部署方案,即“233”为这10个部署方案中可靠性最高的部署方案,该部署方案中在一个区域上部署的虚拟单元的最大数量为3,即该部署方案对应的可靠性参数为3,因此管理节点可以将可靠性参数由原来的2更改为3。更改后的可靠性参数满足该至少一个区域的数量。Since the less the maximum number of virtual units allowed to be deployed in an area, the higher the reliability. Therefore, the management node can determine the deployment scheme with the fewest virtual units deployed in an area, that is, "233" for these 10 deployment schemes The deployment scheme with the highest reliability in the deployment scheme, the maximum number of virtual units deployed in an area in this deployment scheme is 3, that is, the reliability parameter corresponding to the deployment scheme is 3, so the management node can change the reliability parameter from the original 2. Change to 3. The changed reliability parameter satisfies the number of the at least one area.
S107、管理节点向VIM发送第二资源部署请求消息,该第二资源部署请求消息中携带该更改后的可靠性参数。S107. The management node sends a second resource deployment request message to the VIM, where the second resource deployment request message carries the changed reliability parameter.
值得说明的是,在本发明实施例中,当第一资源部署请求消息的请求失败后,管理节点能够根据实际的物理资源,即该VIM所管理的至少一个区域的数量对原本预设的可靠性参数进行更改,且更改为满足该至少一个区域的数量的参数,并将更改后的可靠性参数携带在第二资源部署请求消息中,发送至VIM,以再次请求VIM根据该更改后的可靠性参数对待部署的虚拟资源进行部署。由于更改后的可靠性参数满足该至少一个区域的数量,因此VIM接收到第二资源部署请求消息后,VIM能够按照更改后的可靠性参数,在该至少一个区域上成功部署该虚拟资源。It is worth noting that, in this embodiment of the present invention, after the request of the first resource deployment request message fails, the management node can, according to the actual physical resources, that is, the number of at least one area managed by the VIM, be more reliable than the original preset. change the reliability parameters to meet the parameters of the number of the at least one area, carry the changed reliability parameters in the second resource deployment request message, and send them to the VIM to request the VIM again according to the changed reliability parameters. The virtual resources to be deployed are deployed with the property parameters. Since the changed reliability parameter satisfies the number of the at least one area, after the VIM receives the second resource deployment request message, the VIM can successfully deploy the virtual resource in the at least one area according to the changed reliability parameter.
可以理解的是,在本发明实施例提供的虚拟资源的部署方法中,由于预设的可靠性参数具有可调性,因此能够在VIM所管理的区域的数量不满足预设的可靠性参数时,对该可靠性进行更改,以保证虚拟资源能够成功部署在该区域上,并保证该虚拟资源部署的可靠性,提高了虚拟资源部署的灵活性。It can be understood that, in the method for deploying virtual resources provided in this embodiment of the present invention, since the preset reliability parameter is adjustable, it can be used when the number of areas managed by the VIM does not meet the preset reliability parameter. , the reliability is changed to ensure that the virtual resource can be successfully deployed in the area, and the reliability of the virtual resource deployment is guaranteed, and the flexibility of the virtual resource deployment is improved.
可选的,在实际应用中,存在一种可能的应用场景,即根据实际工程的需要,在进行虚拟资源部署的过程中,必须严格按照预设的可靠性参数进行资源部署,即不允许更改可靠性参数。那么在本发明实施例中,可以在描述符中设置一个开关项,用于指示是否允许管理节点更改该描述符中预设的可靠性参数。Optionally, in practical applications, there is a possible application scenario, that is, according to the needs of actual projects, in the process of virtual resource deployment, resource deployment must be performed strictly according to the preset reliability parameters, that is, changes are not allowed. reliability parameters. Then, in this embodiment of the present invention, a switch item may be set in the descriptor to indicate whether the management node is allowed to change the reliability parameter preset in the descriptor.
具体的,若开关项开启,则表征允许管理节点更改可靠性参数;若开关项关闭,则表征不允许管理节点更改可靠性参数。Specifically, if the switch item is turned on, it indicates that the management node is allowed to change the reliability parameter; if the switch item is turned off, it indicates that the management node is not allowed to change the reliability parameter.
示例性的,开关项可以为一个标志位,若该标志位赋值为1,则表示开关项开启,若该标志位赋值为0,则表示开关项关闭;也可以用字符串off和on来表征该开关项的关闭和开启,对此,本发明实施例不做限制。Exemplarily, the switch item can be a flag bit, if the flag bit is assigned a value of 1, it means that the switch item is turned on, and if the flag bit is assigned a value of 0, it means that the switch item is turned off; it can also be represented by the strings off and on. The turning off and turning on of the switch item are not limited in this embodiment of the present invention.
进一步的,管理节点在根据至少一个区域的数量和至少一个虚拟单元的数量,更改该可靠性参数之前,管理节点可以先查询保存该可靠性参数的描述符中预设的开关项是否开启,若该开关项开启,管理节点即可执行根据该至少一个区域的数量和该至少一个虚拟单元的数量,更改该可靠性参数的步骤。否则,管理节点不对该可靠性参数进行更改,在这种情况下,管理节点可以向网络维护人员提示该第一资源部署请求消息的请求失败,并将该至少一个区域的数量通知给网络维护人员,从而网络维护人员可以获知VIM所管理的区域的数量不足,进而网络维护人员可以增加部署物理资源,以使得该物理资源可以满足部署待部署的虚拟资源的需求,从而使得待部署的虚拟资源能够按照要求的可靠性参数成功进行部署。Further, before the management node changes the reliability parameter according to the number of at least one area and the number of at least one virtual unit, the management node may first query whether the preset switch item in the descriptor for saving the reliability parameter is enabled, if When the switch is turned on, the management node can execute the step of changing the reliability parameter according to the quantity of the at least one area and the quantity of the at least one virtual unit. Otherwise, the management node does not change the reliability parameter. In this case, the management node may prompt the network maintenance personnel that the request for the first resource deployment request message fails, and notify the network maintenance personnel of the number of the at least one area. , so that the network maintenance personnel can know that the number of areas managed by the VIM is insufficient, and then the network maintenance personnel can increase the deployment of physical resources, so that the physical resources can meet the needs of deploying the virtual resources to be deployed, so that the virtual resources to be deployed can be deployed. The deployment succeeds according to the required reliability parameters.
(2)、若该第一资源部署请求消息的请求失败,则该资源部署应答消息用于指示所述第一资源部署请求消息的请求失败。(2) If the request of the first resource deployment request message fails, the resource deployment response message is used to indicate that the request of the first resource deployment request message fails.
进一步的,在上述S104之前,该方法还包括:Further, before the above S104, the method further includes:
S1、该VIM根据该至少一个区域的数量和该至少一个虚拟单元的数量,更改该可靠性参数,更改后的可靠性参数满足该至少一个区域的数量。S1. The VIM changes the reliability parameter according to the quantity of the at least one area and the quantity of the at least one virtual unit, and the changed reliability parameter satisfies the quantity of the at least one area.
即在本发明实例中,VIM可以自行对该可靠性参数进行修改,确定一个该VIM所管理的区域的数量满足的可靠性参数。That is, in the example of the present invention, the VIM can modify the reliability parameter by itself to determine a reliability parameter that satisfies the number of areas managed by the VIM.
具体的,VIM根据该至少一个区域的数量和该至少一个虚拟单元的数量,更改该可靠性参数的具体方法,可以参见上述S106中管理节点根据该至少一个区域的数量和该至少一个虚拟单元的数量,更改该可靠性参数的具体方法,此处不再赘述。Specifically, the specific method for the VIM to change the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit can be referred to in the above S106 by the management node according to the number of the at least one area and the at least one virtual unit. The specific method for changing the reliability parameter will not be repeated here.
进一步的,当VIM确定该更改后的可靠性参数后,即可将该更改后的可靠性参数携带在资源部署应答消息中发送至管理节点,以询问管理节点是否可以使用将该更改后的可靠性参数。Further, after the VIM determines the changed reliability parameter, it can carry the changed reliability parameter in the resource deployment response message and send it to the management node, so as to ask the management node whether the changed reliability parameter can be used. Sexual parameters.
进一步的,上述S105之后,所述方法还包括:Further, after the above S105, the method further includes:
S2、管理节点确定是否允许使用该更改后的可靠性参数。S2. The management node determines whether to allow the changed reliability parameter to be used.
示例性的,管理节点可以通过查询保存该可靠性参数的描述符中开关项是否开启,若该开关项开启,则管理节点确定允许使用该更改后的可靠性参数;若该开关项关闭,则管理节点确定不允许使用该更改后的可靠性参数。Exemplarily, the management node can query whether the switch item in the descriptor that saves the reliability parameter is turned on, if the switch item is turned on, the management node determines that the changed reliability parameter is allowed to be used; if the switch item is turned off, then The management node determines that the changed reliability parameter is not allowed.
管理节点也可以通过向网络维护人员提示该VIM发送的该更改后的可靠性参数,根据网络维护人员的指示确定是否允许使用该更改后的可靠性参数。The management node may also prompt the network maintenance personnel for the changed reliability parameters sent by the VIM, and determine whether to allow the changed reliability parameters to be used according to the instructions of the network maintenance personnel.
需要说明的是,管理节点确定是否允许使用该更改后的可靠性参数的方式,可以更具实际工程中的需要进行设置,本发明不作限制。It should be noted that the manner in which the management node determines whether to allow the use of the changed reliability parameter may be set according to actual engineering needs, which is not limited in the present invention.
S3、管理节点向VIM发送更改响应消息,该更改响应消息用于指示是否允许使用该更改后的可靠性参数。S3. The management node sends a change response message to the VIM, where the change response message is used to indicate whether the changed reliability parameter is allowed to be used.
S4、VIM接收该管理节点发送的更改响应消息。S4. The VIM receives the change response message sent by the management node.
S5、若该更改响应消息用于指示允许使用该更改后的可靠性参数,VIM则根据该更改后的可靠性参数部署所述虚拟资源。S5. If the modification response message is used to indicate that the modified reliability parameter is allowed to be used, the VIM deploys the virtual resource according to the modified reliability parameter.
另一方面,若第一资源部署请求消息的请求成功,则VIM至少可以通过如下两种方式,按照可靠性参数进行虚拟资源的部署。On the other hand, if the request of the first resource deployment request message is successful, the VIM can deploy the virtual resource according to the reliability parameter in at least the following two ways.
方式一,结合图2,如图4所示,在上述S104之前,该方法还包括:Manner 1, with reference to FIG. 2, as shown in FIG. 4, before the above S104, the method further includes:
S108、VIM根据该至少一个虚拟单元的数量和该至少一个区域,确定满足该可靠性参数且VIM允许的至少一种部署方案。S108. The VIM determines at least one deployment scheme that satisfies the reliability parameter and is allowed by the VIM according to the number of the at least one virtual unit and the at least one area.
示例性的,以可靠性参数为4,8台VM和3台主机为例。Illustratively, take the reliability parameters as 4, 8 VMs and 3 hosts as an example.
根据可靠性参数4,VIM确定在3台主机上能够成功部署8台VM的所有部署方案,该VIM允许的所有部署方案包括“044”、“134”、“224”,以及“233”。其中,由于部署方案“233”为这些部署方案中在一台主机上部署VM最少的部署方案,因此,部署方案“233”为该VIM允许的所有部署方案中可靠性最高的部署方案。According to reliability parameter 4, VIM determines all deployment scenarios that can successfully deploy 8 VMs on 3 hosts. All deployment scenarios allowed by this VIM include "044", "134", "224", and "233". Among them, since the deployment scheme "233" is the deployment scheme that deploys the fewest VMs on one host among the deployment schemes, the deployment scheme "233" is the deployment scheme with the highest reliability among all the deployment schemes allowed by the VIM.
当VIM确定满足该可靠性参数且该VIM允许的所有部署方案后,VIM即可将该所有部署方案中的至少一种部署方案携带在该资源部署应答消息中发送至管理节点。After the VIM determines all deployment schemes that satisfy the reliability parameter and are allowed by the VIM, the VIM can carry at least one deployment scheme among all the deployment schemes in the resource deployment response message and send it to the management node.
需要说明的是,至少一种部署方案可以包括该VIM允许的所有部署方案,即该VIM可以将该VIM允许的所有部署方案均携带在资源部署应答消息中发送至管理节点,以请求管理节点从该VIM允许的所有部署方案中选择一种部署方案。It should be noted that at least one deployment scheme may include all deployment schemes allowed by the VIM, that is, the VIM may carry all the deployment schemes allowed by the VIM in the resource deployment response message and send it to the management node, to request the management node from Choose one of the deployment scenarios allowed by this VIM.
至少一种部署方案可以包括该VIM允许的所有部署方案中可靠性最高的部署方案,即VIM可以先在该VIM允许的所有部署方案中选择可靠性最高的部署方案,再将该可靠性最高的部署方案携带在资源部署应答消息中发送至管理节点,以询问管理节点是否可以根据该可靠性最高的部署方案进行资源部署。At least one deployment scheme can include the deployment scheme with the highest reliability among all the deployment schemes allowed by the VIM, that is, the VIM can first select the deployment scheme with the highest reliability among all the deployment schemes allowed by the VIM, and then select the deployment scheme with the highest reliability among all the deployment schemes allowed by the VIM. The deployment scheme is carried in the resource deployment response message and sent to the management node to inquire whether the management node can deploy resources according to the deployment scheme with the highest reliability.
进一步的,在方式一中,上述S105之后,该方法还包括:Further, in the first way, after the above S105, the method further includes:
S109、管理节点从该至少一种部署方案中确定第一部署方案。S109. The management node determines a first deployment scheme from the at least one deployment scheme.
即当管理节点接收到资源部署应答消息,确定第一资源部署请求消息的请求成功,并从该资源部署应答消息中获知该VIM允许的至少一种部署方案后,管理节点可以从该至少一种部署方案中随机选择一种部署方案作为第一部署方案,也可以选择该至少一种部署方案中可靠性最高的一种部署方案作为第一部署方案,本发明不作具体限定。That is, when the management node receives the resource deployment response message, determines that the request of the first resource deployment request message is successful, and learns from the resource deployment response message at least one deployment scheme allowed by the VIM, the management node can obtain the at least one deployment scheme from the resource deployment response message. Among the deployment schemes, one deployment scheme is randomly selected as the first deployment scheme, and a deployment scheme with the highest reliability among the at least one deployment scheme may also be selected as the first deployment scheme, which is not specifically limited in the present invention.
S110、管理节点向VIM发送资源部署指示消息,该资源部署指示消息中携带该第一部署方案。S110. The management node sends a resource deployment instruction message to the VIM, where the resource deployment instruction message carries the first deployment scheme.
当管理节点从该至少一种部署方案中确定第一部署方案后,即可将该第一部署方案携带在该资源部署指示消息中发送至VIM,以指示VIM根据第一部署方案部署虚拟资源。After the management node determines the first deployment scheme from the at least one deployment scheme, the first deployment scheme can be carried in the resource deployment instruction message and sent to the VIM to instruct the VIM to deploy virtual resources according to the first deployment scheme.
S111、VIM接收管理节点发送的资源部署指示消息。S111. The VIM receives the resource deployment indication message sent by the management node.
S112、VIM根据第一部署方案在至少一个区域上部署该虚拟资源。S112. The VIM deploys the virtual resource in at least one area according to the first deployment scheme.
示例性的,结合上述S107中的举例,假设第一部署方案为“233”,则VIM即可在3台主机中的其中一台主机上部署2个VM,另外两台主机上分别部署3个VM。Exemplarily, with reference to the example in S107 above, assuming that the first deployment scheme is "233", then VIM can deploy 2 VMs on one of the 3 hosts, and deploy 3 VMs on the other two hosts respectively. VM.
方式二,结合图2,如图5所示,在上述S104之前,该方法还包括:
S108、VIM根据该至少一个虚拟单元的数量和该至少一个区域,确定满足该可靠性参数且VIM允许的至少一种部署方案。S108. The VIM determines at least one deployment scheme that satisfies the reliability parameter and is allowed by the VIM according to the number of the at least one virtual unit and the at least one area.
S113、VIM根据部署方案选择规则从该至少一种部署方案中确定第一部署方案。S113. The VIM determines a first deployment scheme from the at least one deployment scheme according to the deployment scheme selection rule.
需要说明的是,在方式二中,管理节点向VIM发送的第一资源部署请求消息中还携带部署方案选择规则,该部署方案选择规则用于VIM从至少一种部署方案中确定第一部署方案。It should be noted that, in the second mode, the first resource deployment request message sent by the management node to the VIM also carries a deployment scheme selection rule, and the deployment scheme selection rule is used by the VIM to determine the first deployment scheme from at least one deployment scheme. .
示例性的,部署方案选择规则可以为从至少一种部署方案中选择可靠性最高的部署方案,例如,如图4所示实施例中的举例,选择部署方案“233”。部署方案选择规则也可以为需要区域的个数最少的部署方案,例如,如图4所示实施例中的举例,选择部署方案“044”,在该部署方案中,仅需要两台主机即可按照可靠性参数4的要求,成功部署8台VM。Exemplarily, the deployment scheme selection rule may be to select the deployment scheme with the highest reliability from at least one deployment scheme. For example, in the example of the embodiment shown in FIG. 4 , the deployment scheme "233" is selected. The deployment scheme selection rule can also be the deployment scheme that requires the least number of areas. For example, in the example shown in the embodiment shown in Figure 4, the deployment scheme "044" is selected. In this deployment scheme, only two hosts are required. According to the requirements of reliability parameter 4, 8 VMs were successfully deployed.
S 114、VIM根据第一部署方案在至少一个区域上部署该虚拟资源。S114. The VIM deploys the virtual resource on at least one area according to the first deployment scheme.
进一步的,当VIM根据该第一部署方案完成虚拟资源的部署后,即可向管理节点发送资源部署应答消息,以指示管理节点该第一资源部署请求消息的请求成功。Further, after the VIM completes the deployment of the virtual resources according to the first deployment scheme, it can send a resource deployment response message to the management node to indicate that the management node has successfully requested the first resource deployment request message.
值得说明的是,本发明提供的虚拟资源的部署方法,可以应用于多种应用场景中,例如VNF的实例化,NS的实例化,VNF的扩展过程,NS的扩展,VNF的迁移,以及NS的迁移等场景,这些场景中均包括虚拟资源的部署过程。It is worth noting that the method for deploying virtual resources provided by the present invention can be applied to various application scenarios, such as VNF instantiation, NS instantiation, VNF expansion process, NS expansion, VNF migration, and NS migration and other scenarios, all of which include the deployment process of virtual resources.
其中,虚拟资源的部署可以是虚拟资源的预留,虚拟资源的分配,或者虚拟资源的迁移。The deployment of virtual resources may be reservation of virtual resources, allocation of virtual resources, or migration of virtual resources.
进一步的,若虚拟资源的部署具体指虚拟资源的分配,则上述第一资源部署请求消息具体为第一资源分配请求消息,且该第一资源分配请求消息用于请求VIM分配该虚拟资源;若虚拟资源的部署具体指虚拟资源的预留,则上述第一资源部署请求消息具体为第一资源预留请求消息,且该第一资源预留请求消息用于请求VIM预留该虚拟资源;若虚拟资源的部署具体指虚拟资源的迁移,则上述第一资源部署请求消息具体为第一资源迁移请求消息,且该第一资源迁移请求消息用于请求VIM将该虚拟资源迁移到该VIM管理的至少一个区域上。Further, if the deployment of virtual resources specifically refers to the allocation of virtual resources, the above-mentioned first resource deployment request message is specifically a first resource allocation request message, and the first resource allocation request message is used to request the VIM to allocate the virtual resource; if The deployment of virtual resources specifically refers to the reservation of virtual resources, and the above-mentioned first resource deployment request message is specifically a first resource reservation request message, and the first resource reservation request message is used to request the VIM to reserve the virtual resource; if The deployment of virtual resources specifically refers to the migration of virtual resources, and the above-mentioned first resource deployment request message is specifically a first resource migration request message, and the first resource migration request message is used to request the VIM to migrate the virtual resource to the management of the VIM. in at least one area.
需要说明的是,由于在VNF的实例化过程或者VNF的扩展过程中,可以由VNFM向VIM发送资源分配请求消息,请求VIM为VNF分配虚拟资源,因此,当本发明实施例提供的虚拟资源的部署方法,应用于VNF的实例化过程或者VNF的扩展过程中,且虚拟资源的部署具体指虚拟资源的分配时,管理节点可以为VNFM。It should be noted that, since the VNFM may send a resource allocation request message to the VIM during the VNF instantiation process or the VNF expansion process, requesting the VIM to allocate virtual resources to the VNF, therefore, when the virtual resources provided by the embodiments of the present invention are The deployment method is applied to the instantiation process of the VNF or the expansion process of the VNF, and when the deployment of virtual resources specifically refers to the allocation of virtual resources, the management node may be a VNFM.
特别的,当管理节点为VNFM时,VNFM可以具备更改可靠性参数的功能,从而当第一资源分配请求消息的请求失败时,VNFM可以自行更改可靠性参数。当然,VNFM也可以不具备更改可靠性参数的功能,从而当第一资源分配请求消息的请求失败时,VNFM可以请求NFVO对可靠性参数进行更改。Particularly, when the management node is a VNFM, the VNFM may have the function of changing the reliability parameter, so that when the request of the first resource allocation request message fails, the VNFM may change the reliability parameter by itself. Of course, the VNFM may not have the function of changing the reliability parameter, so when the request of the first resource allocation request message fails, the VNFM may request the NFVO to change the reliability parameter.
可以理解的是,若描述符中设置有开关项,则NFVO接收到VNFM的请求,对可靠性参数进行修改前,先查询该开关项是否开启,并在开关型开启的时候,响应VNFM的请求,对可靠性参数进行修改。It can be understood that if a switch item is set in the descriptor, NFVO receives the VNFM request, and before modifying the reliability parameter, it first checks whether the switch item is enabled, and responds to the VNFM request when the switch type is enabled. , modify the reliability parameters.
具体的,如图6所示,当VNFM不具备更改可靠性参数的功能时,且在第一资源分配请求消息的请求失败的情况下,本发明实施例提供的虚拟资源部署的方法可以包括:Specifically, as shown in FIG. 6, when the VNFM does not have the function of changing the reliability parameter, and in the case that the request of the first resource allocation request message fails, the method for deploying virtual resources provided by the embodiment of the present invention may include:
S201、VNFM向VIM发送第一资源分配请求消息,该第一资源分配请求消息中携带可靠性参数。S201. The VNFM sends a first resource allocation request message to the VIM, where the first resource allocation request message carries a reliability parameter.
S202、VIM接收VNFM发送的第一资源分配请求消息。S202. The VIM receives the first resource allocation request message sent by the VNFM.
S203、VIM根据该可靠性参数,该VIM所管理的至少一个区域的数量,以及该至少一个虚拟单元的数量,确定该第一资源分配请求消息的请求失败。S203. The VIM determines that the request for the first resource allocation request message fails according to the reliability parameter, the number of at least one area managed by the VIM, and the number of the at least one virtual unit.
S204、VIM向VNFM发送资源部署应答消息,该资源部署应答消息用于指示所述第一资源分配请求消息的请求失败,该资源部署应答消息中携带该至少一个区域的数量。S204. The VIM sends a resource deployment response message to the VNFM, where the resource deployment response message is used to indicate that the request of the first resource allocation request message fails, and the resource deployment response message carries the quantity of the at least one area.
S205、VNFM接收VIM发送的资源部署应答消息。S205. The VNFM receives the resource deployment response message sent by the VIM.
S206、VNFM向NFVO发送该至少一个区域的数量和该至少一个虚拟单元的数量。S206. The VNFM sends the quantity of the at least one area and the quantity of the at least one virtual unit to the NFVO.
其中,VNFM可以将该至少一个区域的数量和该至少一个虚拟单元的数量携带在VNFM和VNFO之间进行信息传输的消息中发送至NFVO。Wherein, the VNFM may carry the quantity of the at least one area and the quantity of the at least one virtual unit in a message for information transmission between the VNFM and the VNFO, and send it to the NFVO.
S207、NFVO根据该至少一个区域的数量和该至少一个虚拟单元的数量,更改该可靠性参数。S207. NFVO changes the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit.
S208、NFVO向VNFM发送更改后的可靠性参数。S208. The NFVO sends the changed reliability parameter to the VNFM.
S209、VNFM接收到NFVO发送的更改后的可靠性参数后,向VIM发送第二资源分配请求消息,该第二资源分配请求消息中携带该更改后的可靠性参数。S209. After receiving the changed reliability parameter sent by the NFVO, the VNFM sends a second resource allocation request message to the VIM, where the second resource allocation request message carries the changed reliability parameter.
进而,当VIM接收到第二资源分配请求消息后,即可按照更改后的可靠性参数进行虚拟资源的部署。可以理解的是,由于修改后的可靠性参数满足该VIM所管理的区域的数量,因此,VIM可以成功按照修改后的可靠性参数进行虚拟资源的部署。Furthermore, after the VIM receives the second resource allocation request message, the virtual resource can be deployed according to the changed reliability parameter. It can be understood that since the modified reliability parameter satisfies the number of areas managed by the VIM, the VIM can successfully deploy virtual resources according to the modified reliability parameter.
本发明实例提供一种虚拟资源的部署方法,管理节点能够将可靠性参数携带在第一资源部署请求消息中,由于该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,因此VIM VIM接收到第一资源部署请求消息后,可以确定在一个区域内能够部署的虚拟单元的最大数量,并按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。An example of the present invention provides a method for deploying virtual resources. The management node can carry the reliability parameter in the first resource deployment request message. Since the reliability parameter represents the maximum number of virtual units allowed to be deployed in an area, therefore VIM After VIM receives the first resource deployment request message, it can determine the maximum number of virtual units that can be deployed in an area, and deploy virtual resources according to the reliability parameter, thereby avoiding the possibility of VIM in the prior art The virtual resources are deployed in one area, which improves the reliability of resource deployment.
如图7所示,本发明实施例提供一种管理节点,所述管理节点用于执行以上方法中的管理节点所执行的步骤。所述管理节点可以包括相应步骤所对应的模块。示例性的,所述管理节点可以包括:As shown in FIG. 7 , an embodiment of the present invention provides a management node, where the management node is configured to execute the steps performed by the management node in the above method. The management node may include modules corresponding to corresponding steps. Exemplarily, the management node may include:
发送单元10,用于向VIM发送第一资源部署请求消息,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元,所述第一资源部署请求消息中携带与所述虚拟资源对应的可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量。The sending unit 10 is configured to send a first resource deployment request message to the VIM, where the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, the virtual resource includes at least one virtual unit, and the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed. A resource deployment request message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent the maximum number of virtual units allowed to be deployed in an area.
接收单元11,用于管理节点接收所述VIM发送的资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。The receiving unit 11 is used for the management node to receive a resource deployment response message sent by the VIM, where the resource deployment response message is used to indicate whether the request of the first resource deployment request message succeeds or fails.
可选的,所述发送单元10发送的所述可靠性参数的表达形式包括绝对参数、相对参数、比例,以及等级中的至少一种。Optionally, the expression form of the reliability parameter sent by the sending unit 10 includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
可选的,结合图7,如图8所示,所述管理节点还包括获取单元12。Optionally, with reference to FIG. 7 , as shown in FIG. 8 , the management node further includes an obtaining unit 12 .
所述获取单元12,用于从所述虚拟资源的预设描述符中获取所述可靠性参数。The obtaining unit 12 is configured to obtain the reliability parameter from the preset descriptor of the virtual resource.
可选的,所述发送单元10发送的所述第一资源部署请求消息为第一资源分配请求消息。Optionally, the first resource deployment request message sent by the sending unit 10 is a first resource allocation request message.
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源分配请求消息具体用于请求所述VIM分配所述虚拟资源。The first resource allocation request message is specifically used to request the VIM to allocate the virtual resource.
可选的,所述发送单元10发送的所述第一资源部署请求消息具体为第一资源预留请求消息。Optionally, the first resource deployment request message sent by the sending unit 10 is specifically a first resource reservation request message.
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源预留请求消息用于请求所述VIM预留所述虚拟资源。The first resource reservation request message is used to request the VIM to reserve the virtual resource.
可选的,所述发送单元10发送的所述第一资源部署请求消息具体为第一资源迁移请求消息。Optionally, the first resource deployment request message sent by the sending unit 10 is specifically a first resource migration request message.
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述VIM管理的至少一个区域。The first resource migration request message is used to request the VIM to migrate the virtual resource to at least one area managed by the VIM.
可选的,所述管理节点为NFVO。Optionally, the management node is NFVO.
所述描述符为虚拟网络功能描述符VNFD,或者所述描述符为网络服务描述符为NSD。The descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor and NSD.
可选的,所述管理节点为虚拟VNFM。Optionally, the management node is a virtual VNFM.
所述描述符为VNFD。The descriptor is VNFD.
可选的,所述接收单元11接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述VIM管理的至少一个区域的数量.Optionally, the resource deployment response message received by the receiving unit 11 is used to indicate that the request of the first resource deployment request message fails, and the resource deployment response message carries the number of at least one area managed by the VIM. .
结合图8,如图9所示,所述管理节点还包括更改单元13。With reference to FIG. 8 , as shown in FIG. 9 , the management node further includes a modification unit 13 .
所述更改单元13,用于根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量。The modifying unit 13 is configured to modify the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the modified reliability parameter satisfies the number of the at least one area.
所述发送单元10,还用于向所述VIM发送第二资源部署请求消息,所述第二资源部署请求消息中携带所述更改后的所述可靠性参数。The sending unit 10 is further configured to send a second resource deployment request message to the VIM, where the second resource deployment request message carries the changed reliability parameter.
可选的,当所述管理节点为VNFM时,所述更改单元13,具体用于向NFVO发送所述至少一个区域的数量和所述至少一个虚拟单元的数量,所述至少一个区域的数量和所述至少一个虚拟单元的数量用于所述NFVO更改所述可靠性参数。Optionally, when the management node is a VNFM, the changing unit 13 is specifically configured to send the number of the at least one area and the number of the at least one virtual unit, the number of the at least one area and the number of the at least one area to the NFVO. The number of the at least one virtual unit is used by the NFVO to modify the reliability parameter.
所述更改单元13,还用于接收所述NFVO发送的更改后的所述可靠性参数,所述更改后的所述可靠性参数为所述NFVO根据所述至少一个区域的数量和所述至少一个虚拟单元的数量确定的。The changing unit 13 is further configured to receive the changed reliability parameter sent by the NFVO, where the changed reliability parameter is the NFVO according to the number of the at least one area and the at least one area. The number of a virtual unit is determined.
可选的,所述更改单元13,具体用于查询所述描述符中预设的开关项是否开启,所述开关项用于指示是否允许所述管理节点更改所述可靠性参数;若所述开关项开启,则根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数。Optionally, the changing unit 13 is specifically configured to query whether a preset switch item in the descriptor is turned on, and the switch item is used to indicate whether the management node is allowed to change the reliability parameter; if the When the switch item is turned on, the reliability parameter is changed according to the quantity of the at least one area and the quantity of the at least one virtual unit.
可选的,所述接收单元11接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带更改后的所述可靠性参数,所述管理单元还包括确定单元14。Optionally, the resource deployment response message received by the receiving unit 11 is used to indicate that the request of the first resource deployment request message fails, and the resource deployment response message carries the changed reliability parameter, and the The management unit further includes a determination unit 14 .
所述确定单元14,用于确定是否允许使用所述更改后的所述可靠性参数。The determining unit 14 is configured to determine whether the modified reliability parameter is allowed to be used.
所述发送单元11,还用于向所述VIM发送更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数。The sending unit 11 is further configured to send a modification response message to the VIM, where the modification response message is used to indicate whether the modified reliability parameter is allowed to be used.
可选的,所述接收单元11接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功,所述资源部署应答消息中携带满足所述可靠性参数且所述VIM允许的至少一种部署方案,所述管理节点还包括确定单元14:Optionally, the resource deployment response message received by the receiving unit 11 is used to indicate that the request of the first resource deployment request message is successful, and the resource deployment response message carries the reliability parameter and the VIM At least one allowed deployment scheme, the management node further includes a determining unit 14:
所述确定单元14,用于从接收单元接收的所述至少一种部署方案中确定第一部署方案。The determining unit 14 is configured to determine a first deployment solution from the at least one deployment solution received by the receiving unit.
所述发送单元10,还用于向所述VIM发送资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述资源部署指示消息用于指示所述VIM根据所述第一部署方案部署所述虚拟资源。The sending unit 10 is further configured to send a resource deployment indication message to the VIM, where the resource deployment indication message carries the first deployment scheme, and the resource deployment indication message is used to instruct the VIM to perform the resource deployment according to the first deployment scheme. A deployment scheme deploys the virtual resource.
可以理解,本实施例的管理节点可对应于上述如图2至图6任意之一所述的实施例的虚拟资源的部署方法中的管理节点,并且本实施例的管理节点中的各个模块的划分和/或功能等均是为了实现如图2至和图6任意之一所示的方法流程,为了简洁,在此不再赘述。It can be understood that the management node in this embodiment may correspond to the management node in the virtual resource deployment method of the embodiment described in any one of FIG. 2 to FIG. 6 , and each module in the management node in this embodiment has The divisions and/or functions, etc. are all for realizing the method flow shown in any one of FIG. 2 to FIG. 6 , and for the sake of brevity, details are not repeated here.
本发明实施例提供的管理节点,能够向VIM发送第一资源部署请求消息,并接收VIM发送的资源部署应答消息,其中,该第一资源部署请求消息用于请求VIM部署待部署的虚拟资源,该虚拟资源包括至少一个虚拟单元,该第一资源部署请求消息中携带与该虚拟资源对应的可靠性参数,该可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量,该资源部署应答消息用于指示第一资源部署请求消息的请求成功或者失败。与现有技术相比,管理节点在第一资源部署请求消息携带可靠性参数,由于该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,因此VIM在根据第一资源部署请求消息进行资源部署时可以按照该可靠性参数进行部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。The management node provided by the embodiment of the present invention can send a first resource deployment request message to the VIM, and receive a resource deployment response message sent by the VIM, where the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed, The virtual resource includes at least one virtual unit, and the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent the maximum number of virtual units allowed to be deployed in an area, the resource The deployment response message is used to indicate whether the request of the first resource deployment request message succeeds or fails. Compared with the prior art, the management node carries a reliability parameter in the first resource deployment request message. Since the reliability parameter represents the maximum number of virtual units allowed to be deployed in an area, the VIM is based on the first resource deployment request. The message can be deployed according to the reliability parameter during resource deployment, thereby avoiding that the VIM in the prior art may deploy all virtual resources in one area, thereby improving the reliability of resource deployment.
如图10所示,本发明实施例提供一种VIM,所述管理节点用于执行以上方法中的VIM所执行的步骤。所述VIM可以包括相应步骤所对应的模块。示例性的,所述VIM可以包括:As shown in FIG. 10 , an embodiment of the present invention provides a VIM, and the management node is configured to perform the steps performed by the VIM in the above method. The VIM may include modules corresponding to corresponding steps. Exemplarily, the VIM may include:
接收单元20,用于接收管理节点发送的第一资源部署请求消息,所述第一资源部署请求消息中携带可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元。The receiving unit 20 is configured to receive a first resource deployment request message sent by the management node, where the first resource deployment request message carries a reliability parameter, and the reliability parameter is used to represent the virtual unit allowed to be deployed in an area. The maximum number, the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, where the virtual resource includes at least one virtual unit.
确定单元21,用于根据接收单元20接收的所述可靠性参数,所述VIM所管理的至少一个区域的数量,以及所述至少一个虚拟单元的数量,确定所述第一资源部署请求消息的请求结果,所述请求结果包括所述第一资源部署请求消息的请求成功或者失败。The determining unit 21 is configured to determine, according to the reliability parameter received by the receiving unit 20, the number of at least one area managed by the VIM, and the number of the at least one virtual unit, the size of the first resource deployment request message. A request result, where the request result includes the request success or failure of the first resource deployment request message.
发送单元22,用于根据确定单元21确定的所述请求结果向所述管理节点发送资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。The sending unit 22 is configured to send a resource deployment response message to the management node according to the request result determined by the determining unit 21, where the resource deployment response message is used to indicate whether the request of the first resource deployment request message succeeds or fails.
可选的,所述接收单元20接收的所述可靠性参数的表现形式包括绝对参数、相对参数、比例,以及等级中的至少一种。Optionally, the representation form of the reliability parameter received by the receiving unit 20 includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
可选的,所述接收单元20接收的所述第一资源部署请求消息具体为资源预留请求消息。Optionally, the first resource deployment request message received by the receiving unit 20 is specifically a resource reservation request message.
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源预留请求消息用于请求所述VIM预留所述虚拟资源。The resource reservation request message is used to request the VIM to reserve the virtual resource.
可选的,所述接收单元20接收的所述第一资源部署请求消息具体为资源分配请求消息。Optionally, the first resource deployment request message received by the receiving unit 20 is specifically a resource allocation request message.
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源分配请求消息用于请求所述VIM分配所述虚拟资源。The resource allocation request message is used to request the VIM to allocate the virtual resource.
可选的,所述接收单元20接收的所述第一资源部署请求消息具体为资源迁移请求消息。Optionally, the first resource deployment request message received by the receiving unit 20 is specifically a resource migration request message.
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述至少一个区域上。The resource migration request message is used to request the VIM to migrate the virtual resource to the at least one area.
可选的,所述管理节点为NFVO。Optionally, the management node is NFVO.
可选的,所述管理节点为VNFM。Optionally, the management node is a VNFM.
可选的,所述确定单元21,具体用于所述VIM根据所述至少一个虚拟单元的数量、所述至少一个区域的数量,以及所述可靠性参数,确定所述至少一个区域的数量是否满足所述可靠性参数。Optionally, the determining unit 21 is specifically configured for the VIM to determine whether the number of the at least one area is based on the number of the at least one virtual unit, the number of the at least one area, and the reliability parameter. The reliability parameters are met.
若确定所述至少一个区域的数量不满足所述可靠性参数,则确定所述第一资源部署请求消息的请求失败。If it is determined that the number of the at least one area does not satisfy the reliability parameter, it is determined that the request of the first resource deployment request message fails.
若确定所述至少一个区域的数量满足所述可靠性参数,则确定所述第一资源部署请求消息的请求成功。If it is determined that the number of the at least one area satisfies the reliability parameter, it is determined that the request of the first resource deployment request message is successful.
可选的,若所述确定单元21确定所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述至少一个区域的数量,所述至少一个区域的数量用于所述管理节点更改所述可靠性参数,以使得所述更改后的所述可靠性参数满足所述区域的数量。Optionally, if the determining unit 21 determines that the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message fails. The number of the at least one area is carried in the message, and the number of the at least one area is used by the management node to change the reliability parameter, so that the changed reliability parameter satisfies the number of the area.
可选的,若所述确定单元21确定所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功。Optionally, if the determining unit 21 determines that the request for the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful.
所述确定单元21,还用于在所述发送单元22根据所述请求结果向所述管理节点发送资源部署应答消息之前,根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案。The determining unit 21 is further configured to, before the sending unit 22 sends a resource deployment response message to the management node according to the request result, according to the number of the at least one virtual unit and the at least one area, determine whether the The reliability parameter and at least one deployment scenario allowed by the VIM.
所述发送单元22发送的所述资源部署应答消息中携带所述至少一种部署方案。The resource deployment response message sent by the sending unit 22 carries the at least one deployment scheme.
所述接收单元20,还用于在所述发送单元22根据所述请求结果向所述管理节点发送资源部署应答消息之前,接收所述管理节点发送的资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述第一部署方案为所述管理节点接收到所述资源部署应答消息后,从所述至少一种部署方案中确定的。The receiving unit 20 is further configured to, before the sending unit 22 sends a resource deployment response message to the management node according to the request result, receive a resource deployment indication message sent by the management node, the resource deployment indication message carries the first deployment scheme in the , where the first deployment scheme is determined from the at least one deployment scheme after the management node receives the resource deployment response message.
结合图10,如图11所示,所述VIM还包括部署单元23。With reference to FIG. 10 , as shown in FIG. 11 , the VIM further includes a deployment unit 23 .
所述部署单元23,用于根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The deployment unit 23 is configured to deploy the virtual resource on the at least one area according to the first deployment scheme.
可选的,所述接收单元20接收的所述第一资源部署请求消息中还携带部署方案选择规则,所述部署方案选择规则用于所述VIM从所述至少一种部署方案选择第一部署方案。Optionally, the first resource deployment request message received by the receiving unit 20 further carries a deployment scheme selection rule, and the deployment scheme selection rule is used by the VIM to select the first deployment from the at least one deployment scheme. Program.
若所述确定单元21确定所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功。If the determining unit 21 determines that the request of the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful.
所述确定单元21,还用于在所述发送单元22根据所述请求结果向所述管理节点发送资源部署应答消息之前,根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案,并根据所述部署方案选择规则从所述至少一种部署方案选择所述第一部署方案。The determining unit 21 is further configured to, before the sending unit 22 sends a resource deployment response message to the management node according to the request result, according to the number of the at least one virtual unit and the at least one area, determine whether the The reliability parameter and at least one deployment scheme allowed by the VIM, and the first deployment scheme is selected from the at least one deployment scheme according to the deployment scheme selection rule.
所述部署单元23,用于根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The deployment unit 23 is configured to deploy the virtual resource on the at least one area according to the first deployment scheme.
可选的,若所述确定单元21确定所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述VIM还包括更改单元24和部署单元23。Optionally, if the determining unit 21 determines that the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the VIM further includes: Modify unit 24 and deploy unit 23.
所述更改单元24,用于根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量。The modifying unit 24 is configured to modify the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the modified reliability parameter satisfies the number of the at least one area.
所述发送单元22发送的所述资源部署应答消息中携带所述更改后的所述可靠性参数。The resource deployment response message sent by the sending unit 22 carries the changed reliability parameter.
所述接收单元20,还用于在所述发送单元22向所述管理节点发送资源部署应答消息之后,接收所述管理节点发送的更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数。The receiving unit 20 is further configured to, after the sending unit 22 sends a resource deployment response message to the management node, receive a change response message sent by the management node, where the change response message is used to indicate whether to allow the use of the resource deployment response message. the modified reliability parameters.
所述部署单元23,用于若所述接收单元接收的所述更改响应消息用于指示允许使用所述更改后的所述可靠性参数,所述VIM则根据所述更改后的所述可靠性参数部署所述虚拟资源。The deploying unit 23 is configured to, if the modification response message received by the receiving unit is used to indicate that the modified reliability parameter is allowed to be used, the VIM will use the modified reliability parameter according to the modified reliability parameter. parameters to deploy the virtual resource.
可以理解,本实施例的VIM可对应于上述如图2至图6任意之一所述的实施例的虚拟资源的部署方法中的VIM,并且本实施例的VIM中的各个模块的划分和/或功能等均是为了实现如图2至和图6任意之一所示的方法流程,为了简洁,在此不再赘述。It can be understood that the VIM in this embodiment may correspond to the VIM in the virtual resource deployment method of the embodiment described in any one of FIG. 2 to FIG. 6 , and the division and/or division of each module in the VIM in this embodiment Or functions, etc. are all for realizing the method flow shown in any one of FIG. 2 to FIG. 6 , and for brevity, details are not repeated here.
本发明实施例提供一种VIM,能够接收管理节点发送的第一资源部署请求消息,根据第一资源部署请求消息中携带的可靠性参数,该VIM所管理的至少一个区域的数量,以及至少一个虚拟单元的数量,确定该第一资源部署请求消息的请求结果,并根据该请求结果向管理节点发送资源部署应答消息,该资源部署应答消息用于指示该第一资源部署请求消息的请求成功或者失败,其中,该可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量。与现有技术相比,本发明实施例提供的VIM能够根据可靠性参数确定在一个区域内能够部署的虚拟单元的最大数量,从而按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。An embodiment of the present invention provides a VIM capable of receiving a first resource deployment request message sent by a management node, and according to a reliability parameter carried in the first resource deployment request message, the number of at least one area managed by the VIM, and at least one The number of virtual units, determine the request result of the first resource deployment request message, and send a resource deployment response message to the management node according to the request result, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or Fail, where the reliability parameter is used to characterize the maximum number of virtual units that are allowed to be deployed in an area. Compared with the prior art, the VIM provided by the embodiment of the present invention can determine the maximum number of virtual units that can be deployed in an area according to the reliability parameter, so as to deploy the virtual resources according to the reliability parameter, thereby avoiding the existing problems. In the technology, VIM may deploy all virtual resources in one area, which improves the reliability of resource deployment.
如图12所示,本发明实施例提供一种管理节点,该管理节点包括:处理器30、存储器31、系统总线32和通信接口33。As shown in FIG. 12 , an embodiment of the present invention provides a management node, where the management node includes: a
所述存储器31用于存储计算机执行指令,所述处理器30与所述存储器31通过所述系统总线32连接,当所述管理节点运行时,所述处理器30执行所述存储器31存储的所述计算机执行指令,以使所述管理节点执行如图2至图6任意之一所述的虚拟资源的部署方法。具体的虚拟资源的部署方法可参见上述如图2至图6任意之一所示的实施例中的相关描述,此处不再赘述。The
其中,所述处理器30可以为中央处理器(英文:central processing unit,缩写:CPU)。所述处理器30还可以为其他通用处理器、数字信号处理器(英文:digital signalprocessing,简称DSP)、专用集成电路(英文:application specific integratedcircuit,简称ASIC)、现场可编程门阵列(英文:field-programmable gate array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The
所述处理器30可以为专用处理器,该专用处理器可以包括基带处理芯片、射频处理芯片等中的至少一个。进一步地,该专用处理器还可以包括具有管理节点其他专用处理功能的芯片。The
所述存储器31可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);所述存储器31也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);所述存储器31还可以包括上述种类的存储器的组合。The
所述系统总线32可以包括数据总线、电源总线、控制总线和信号状态总线等。本实施例中为了清楚说明,在图12中将各种总线都示意为系统总线32。The
所述处理器30通过所述通信接口33与其他设备,例如VIM之间进行数据的交互。The
在具体实现过程中,上述图2至图6任意之一所示的方法流程中的各步骤均可以通过硬件形式的处理器30执行存储器31中存储的软件形式的计算机执行指令实现。为避免重复,此处不再赘述。In a specific implementation process, each step in the method flow shown in any one of FIG. 2 to FIG. 6 can be implemented by the
本发明实施例提供的管理节点,能够向VIM发送第一资源部署请求消息,并接收VIM发送的资源部署应答消息,其中,该第一资源部署请求消息用于请求VIM部署待部署的虚拟资源,该虚拟资源包括至少一个虚拟单元,该第一资源部署请求消息中携带与该虚拟资源对应的可靠性参数,该可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量,该资源部署应答消息用于指示第一资源部署请求消息的请求成功或者失败。与现有技术相比,管理节点在第一资源部署请求消息携带可靠性参数,由于该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,因此VIM在根据第一资源部署请求消息进行资源部署时可以按照该可靠性参数进行部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。The management node provided by the embodiment of the present invention can send a first resource deployment request message to the VIM, and receive a resource deployment response message sent by the VIM, where the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed, The virtual resource includes at least one virtual unit, and the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent the maximum number of virtual units allowed to be deployed in an area, the resource The deployment response message is used to indicate whether the request of the first resource deployment request message succeeds or fails. Compared with the prior art, the management node carries a reliability parameter in the first resource deployment request message. Since the reliability parameter represents the maximum number of virtual units allowed to be deployed in an area, the VIM is based on the first resource deployment request. The message can be deployed according to the reliability parameter during resource deployment, thereby avoiding that the VIM in the prior art may deploy all virtual resources in one area, thereby improving the reliability of resource deployment.
如图13所示,本发明实施例提供一种VIM,该VIM包括:处理器40、存储器41、系统总线42和通信接口43。As shown in FIG. 13 , an embodiment of the present invention provides a VIM, where the VIM includes: a
所述存储器41用于存储计算机执行指令,所述处理器40与所述存储器41通过所述系统总线42连接,当所述VIM运行时,所述处理器40执行所述存储器41存储的所述计算机执行指令,以使所述VIM执行如图2至图6任意之一所述的资源指示方法。具体的资源指示方法可参见上述如图2至图6任意之一所示的实施例中的相关描述,此处不再赘述。The
其中,所述处理器40可以为CPU。所述处理器40还可以为其他通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。Wherein, the
所述处理器40可以为专用处理器,该专用处理器可以包括基带处理芯片、射频处理芯片等中的至少一个。进一步地,该专用处理器还可以包括具有VIM其他专用处理功能的芯片。The
所述存储器41可以包括易失性存储器,例如随机存取存储器RAM;所述存储器41也可以包括非易失性存储器,例如只读存储器ROM,快闪存储器,HDD或SSD;所述存储器41还可以包括上述种类的存储器的组合。The
所述系统总线42可以包括数据总线、电源总线、控制总线和信号状态总线等。本实施例中为了清楚说明,在图13中将各种总线都示意为系统总线42。The
所述处理器40通过所述通信接口43与其他设备,例如管理节点之间进行数据的交互。The
在具体实现过程中,上述如图2至图6任意之一所示的方法流程中的各步骤均可以通过硬件形式的处理器40执行存储器41中存储的软件形式的计算机执行指令实现。为避免重复,此处不再赘述。In a specific implementation process, each step in the method flow shown in any one of FIG. 2 to FIG. 6 can be implemented by the
本发明实施例提供一种VIM,能够接收管理节点发送的第一资源部署请求消息,根据第一资源部署请求消息中携带的可靠性参数,该VIM所管理的至少一个区域的数量,以及至少一个虚拟单元的数量,确定该第一资源部署请求消息的请求结果,并根据该请求结果向管理节点发送资源部署应答消息,该资源部署应答消息用于指示该第一资源部署请求消息的请求成功或者失败,其中,该可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量。与现有技术相比,本发明实施例提供的VIM能够根据可靠性参数确定在一个区域内能够部署的虚拟单元的最大数量,从而按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。An embodiment of the present invention provides a VIM capable of receiving a first resource deployment request message sent by a management node, and according to a reliability parameter carried in the first resource deployment request message, the number of at least one area managed by the VIM, and at least one The number of virtual units, determine the request result of the first resource deployment request message, and send a resource deployment response message to the management node according to the request result, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or Fail, where the reliability parameter is used to characterize the maximum number of virtual units that are allowed to be deployed in an area. Compared with the prior art, the VIM provided by the embodiment of the present invention can determine the maximum number of virtual units that can be deployed in an area according to the reliability parameter, so as to deploy the virtual resources according to the reliability parameter, thereby avoiding the existing problems. In the technology, VIM may deploy all virtual resources in one area, which improves the reliability of resource deployment.
如图14所示,本发明实施例提供一种通信系统,包括如图7至图9任意之一所示的管理节点,和如图10或图11所示的VIM;或者包括如图12所示的管理节点和如图13所示的VIM。As shown in FIG. 14 , an embodiment of the present invention provides a communication system, including a management node as shown in any one of FIG. 7 to FIG. 9 , and a VIM as shown in FIG. 10 or FIG. 11 ; or a management node as shown in FIG. 12 ; The management node shown in Figure 13 and the VIM shown in Figure 13.
本发明实施例提供的通信系统中,管理节点通过执行如图2至图6任意之一所示的方法流程中的相应步骤完成本发明实施例的虚拟资源的部署方法;相应的,VIM通过执行如图2至图6任意之一所示的方法流程中的相应步骤完成本发明实施例的虚拟资源的部署方法。In the communication system provided by the embodiment of the present invention, the management node completes the virtual resource deployment method of the embodiment of the present invention by executing the corresponding steps in the method flow shown in any one of FIG. 2 to FIG. 6 ; correspondingly, the VIM executes The corresponding steps in the method flow shown in any one of FIG. 2 to FIG. 6 complete the method for deploying virtual resources according to the embodiment of the present invention.
本发明实施例提供的通信系统中,管理节点能够将可靠性参数携带在第一资源部署请求消息中,由于该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,因此VIM VIM接收到第一资源部署请求消息后,可以确定在一个区域内能够部署的虚拟单元的最大数量,并按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。In the communication system provided by the embodiment of the present invention, the management node can carry the reliability parameter in the first resource deployment request message. Since the reliability parameter represents the maximum number of virtual units allowed to be deployed in an area, the VIM VIM After receiving the first resource deployment request message, the maximum number of virtual units that can be deployed in an area can be determined, and virtual resources can be deployed according to the reliability parameter, thereby avoiding that the VIM in the prior art may allocate all virtual units. The resources are deployed in one area, which improves the reliability of resource deployment.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and conciseness of the description, only the division of the above-mentioned functional modules is used for illustration. In practical applications, the above-mentioned functions can be allocated to different functional modules as required. The internal structure of the device is divided into different functional modules to complete all or part of the functions described above. For the specific working process of the system, apparatus and unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be Incorporation may either be integrated into another system, or some features may be omitted, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection of devices or units through some interfaces.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本发明各个实施例所述方法的全部或部分步骤。所述存储介质是非短暂性(英文:non-transitory)介质,包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present invention. The storage medium is a non-transitory (English: non-transitory) medium, including: a flash memory, a removable hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk and other mediums that can store program codes.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included 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.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2015/093481WO2017070963A1 (en) | 2015-10-31 | 2015-10-31 | Method, apparatus, and system for deploying virtual resources |
| Publication Number | Publication Date |
|---|---|
| CN107408058A CN107408058A (en) | 2017-11-28 |
| CN107408058Btrue CN107408058B (en) | 2020-06-02 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201580049748.3AActiveCN107408058B (en) | 2015-10-31 | 2015-10-31 | A method, device and system for deploying virtual resources |
| Country | Link |
|---|---|
| CN (1) | CN107408058B (en) |
| WO (1) | WO2017070963A1 (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112748981B (en)* | 2019-10-29 | 2024-03-26 | 华为技术有限公司 | Processing method and device for software image of virtual network function |
| CN112860618A (en)* | 2019-11-26 | 2021-05-28 | 中移(苏州)软件技术有限公司 | Resource management method, device and storage medium |
| CN112910673B (en)* | 2019-12-04 | 2023-05-09 | 中国移动通信有限公司研究院 | A method, device, equipment and storage medium for determining network element deployment information |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102929658A (en)* | 2005-10-07 | 2013-02-13 | 茨特里克斯系统公司 | Methods for selecting between a predetermined number of execution methods for an application program |
| CN103262026A (en)* | 2010-12-31 | 2013-08-21 | Emc公司 | Virtual appliance deployment |
| CN104050045A (en)* | 2014-06-27 | 2014-09-17 | 华为技术有限公司 | Method and device for distributing virtual resources based on disk IO |
| CN104954220A (en)* | 2014-03-31 | 2015-09-30 | 华为技术有限公司 | Virtual network service deployment method and device thereof |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103649916B (en)* | 2011-05-13 | 2018-03-02 | 瑞典爱立信有限公司 | Distribution of virtual machines in the data center |
| US8949655B2 (en)* | 2013-01-31 | 2015-02-03 | Alcatel Lucent | Preventing extreme coresidency hazards in cloud computing |
| JPWO2014208661A1 (en)* | 2013-06-27 | 2017-02-23 | 日本電気株式会社 | Virtual machine layout design apparatus, method, system, and program |
| EP2849064B1 (en)* | 2013-09-13 | 2016-12-14 | NTT DOCOMO, Inc. | Method and apparatus for network virtualization |
| CN103607308B (en)* | 2013-11-29 | 2016-09-21 | 杭州东信北邮信息技术有限公司 | Virtual machine multi-network management system under cloud computing environment and method |
| US10664297B2 (en)* | 2014-02-24 | 2020-05-26 | Hewlett Packard Enterprise Development Lp | Activating pre-created VNFCs when a monitored performance level of a VNF exceeds a maximum value attainable by the combined VNFCs that form a VNF |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102929658A (en)* | 2005-10-07 | 2013-02-13 | 茨特里克斯系统公司 | Methods for selecting between a predetermined number of execution methods for an application program |
| CN103262026A (en)* | 2010-12-31 | 2013-08-21 | Emc公司 | Virtual appliance deployment |
| CN104954220A (en)* | 2014-03-31 | 2015-09-30 | 华为技术有限公司 | Virtual network service deployment method and device thereof |
| CN104050045A (en)* | 2014-06-27 | 2014-09-17 | 华为技术有限公司 | Method and device for distributing virtual resources based on disk IO |
| Publication number | Publication date |
|---|---|
| CN107408058A (en) | 2017-11-28 |
| WO2017070963A1 (en) | 2017-05-04 |
| Publication | Publication Date | Title |
|---|---|---|
| US12393436B2 (en) | Method for deploying virtual machine and container, and related apparatus | |
| US11704144B2 (en) | Creating virtual machine groups based on request | |
| CN107251486B (en) | A method, device and system for extended linkage | |
| US11301303B2 (en) | Resource pool processing to determine to create new virtual resource pools and storage devices based on currebt pools and devices not meeting SLA requirements | |
| RU2640724C1 (en) | Method of troubleshooting process, device and system based on virtualization of network functions | |
| JP5510556B2 (en) | Method and system for managing virtual machine storage space and physical hosts | |
| US10924966B2 (en) | Management method, management unit, and system | |
| CN105955824A (en) | A virtual resource configuration method and device | |
| WO2015196931A1 (en) | Disk io-based virtual resource allocation method and device | |
| WO2018149263A1 (en) | Method and apparatus for instantiating network service | |
| CN106911741B (en) | Method for balancing virtual network management file downloading load and network management server | |
| US11088924B2 (en) | Network management method, device, and system | |
| CN103473136A (en) | Resource allocation method of virtual machines, and communication equipment | |
| CN109522090B (en) | Resource scheduling method and device | |
| CN106856438B (en) | Network service instantiation method, device and NFV system | |
| CN107959582A (en) | A kind of management method and device of example of cutting into slices | |
| CN108132827B (en) | Network slice resource mapping method, related equipment and system | |
| US20230221997A1 (en) | System and method for subscription management using composed systems | |
| US20190188041A1 (en) | Method and apparatus for implementing hardware resource allocation, and storage medium | |
| CN107408058B (en) | A method, device and system for deploying virtual resources | |
| CN108028806B (en) | Method and apparatus for allocating virtual resources in network function virtualization NFV network | |
| CN103200257A (en) | A node and its resource switching method in a high-availability cluster system | |
| CN107534678B (en) | Method, device and system for establishing connection between VNFM and VIM | |
| CN112015515B (en) | A method and device for instantiating virtual network functions | |
| EP3280091A1 (en) | Method, apparatus and system for establishing interface between vnfms |
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right | ||
| TR01 | Transfer of patent right | Effective date of registration:20210428 Address after:Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after:Honor Device Co.,Ltd. Address before:518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before:HUAWEI TECHNOLOGIES Co.,Ltd. | |
| CP03 | Change of name, title or address | ||
| CP03 | Change of name, title or address | Address after:Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after:Honor Terminal Co.,Ltd. Country or region after:China Address before:3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong Patentee before:Honor Device Co.,Ltd. Country or region before:China |