CN107408058B - Virtual resource deployment method, device and system - Google Patents

Virtual resource deployment method, device and system Download PDF

Info

Publication number
CN107408058B
CN107408058B CN201580049748.3A CN201580049748A CN107408058B CN 107408058 B CN107408058 B CN 107408058B CN 201580049748 A CN201580049748 A CN 201580049748A CN 107408058 B CN107408058 B CN 107408058B
Authority
CN
China
Prior art keywords
resource
vim
deployment
request message
virtual
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201580049748.3A
Other languages
Chinese (zh)
Other versions
CN107408058A (en
Inventor
周彦
张凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN107408058A publication Critical patent/CN107408058A/en
Application granted granted Critical
Publication of CN107408058B publication Critical patent/CN107408058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]

Abstract

The embodiment of the invention provides a method, a device and a system for deploying virtual resources, relates to the technical field of communication, and can improve the reliability of virtual resource deployment. The method comprises the following steps: a management node sends a first resource deployment request message to a VIM, wherein the first resource deployment request message is used for requesting the VIM to deploy virtual resources to be deployed, the virtual resources comprise at least one virtual unit, the first resource deployment request message carries a reliability parameter corresponding to the virtual resources, and the reliability parameter is used for representing the maximum number of virtual units allowed to be deployed in an area; and the management node receives a resource deployment response message sent by the VIM, wherein the resource deployment response message is used for indicating the success or failure of the request of the first resource deployment request message. The method is applied to the NFV system.

Description

Virtual resource deployment method, device and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a system for deploying virtual resources.
Background
With the rapid development of virtualization technology, Network Function Virtualization (NFV) systems, which implement functions of network element devices dedicated to networks, are gaining attention on general physical devices.
In the NFV system, a function virtualization scheduling Node (NFVO) or a virtual network function management node (VNFM) sends a resource deployment request message to a virtual machine infrastructure management node (VIM) to request the VIM to deploy a virtual resource to be deployed in an area managed by the VIM. For example, when a certain Virtual Network Function (VNF) is instantiated, the NFVO or the VNFM sends a resource deployment request message to the VIM, and the VIM deploys Virtual Machines (VMs) required for forming the VNF on a host (host) managed by the VIM according to the resource deployment request message.
However, according to the foregoing method for virtual resource deployment, when the virtual resources of the VNF include multiple VMs, for example, 5 VMs, and the VIM may deploy the 5 VMs on one host, when the host fails, none of the 5 VMs may be operated, and therefore, the reliability of virtual resource deployment may be low according to the foregoing method for resource deployment.
Disclosure of Invention
The embodiment of the invention provides a method, a device and a system for deploying virtual resources, which can improve the reliability of virtual resource deployment.
In order to achieve the above purpose, the embodiment of the invention adopts the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for deploying virtual resources, including:
a management node sends a first resource deployment request message to a VIM, wherein the first resource deployment request message is used for requesting the VIM to deploy virtual resources to be deployed, the virtual resources comprise at least one virtual unit, the first resource deployment request message carries a reliability parameter corresponding to the virtual resources, and the reliability parameter is used for representing the maximum number of virtual units allowed to be deployed in an area;
and the management node receives a resource deployment response message sent by the VIM, wherein the resource deployment response message is used for indicating the success or failure of the request of the first resource deployment request message.
In the virtual resource deployment method provided by the embodiment of the invention, the management node carries the reliability parameter in the first resource deployment request message, and the reliability parameter represents the maximum number of the virtual units allowed to be deployed in a region, so that after receiving the first resource deployment request message, the VIM can determine the maximum number of the virtual units capable of being deployed in a region and deploy the virtual resources according to the reliability parameter, thereby avoiding that the VIM in the prior art can deploy all the virtual resources in a region and improving the reliability of resource deployment.
In a first possible implementation form of the first aspect,
the expression form of the reliability parameter includes at least one of an absolute parameter, a relative parameter, a proportion, and a grade.
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:
and the management node acquires the reliability parameter from a preset descriptor of the virtual resource.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner,
the first resource deployment request message is a first resource allocation request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource allocation request message is specifically configured to request the VIM to allocate the virtual resource.
With reference to the second possible implementation manner of the first aspect, in a fourth possible implementation manner,
the first resource deployment request message is specifically a first resource reservation request message;
the first resource deployment request message is specifically used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource reservation request message is used for requesting the VIM to reserve the virtual resources.
With reference to the second possible implementation manner of the first aspect, in a fifth possible implementation manner,
the first resource deployment request message is specifically a first resource migration request message;
the first resource deployment request message is specifically used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource migration request message is used for requesting the VIM to migrate the virtual resources to at least one area managed by the VIM.
With reference to any one implementation manner of the second possible implementation manner of the first aspect to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner,
the management node is a network function virtualization scheduling node NFVO;
the descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor NSD.
With reference to the third possible implementation manner of the first aspect, in a seventh possible implementation manner,
the management node is a virtual network function management node (VNFM);
the descriptor is VNFD.
With reference to the first aspect or any implementation manner of the first possible implementation manner of the first aspect to the seventh possible implementation manner of the first aspect, in an eighth possible implementation manner, 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 managed by the VIM, where the method further includes:
and the management node changes the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit, wherein the changed reliability parameter meets the number of the at least one region.
And the management node sends a second resource deployment request message to the VIM, wherein the second resource deployment request message carries the changed reliability parameters.
With reference to the eighth possible implementation manner of the first aspect, in a ninth possible implementation manner, when the management node is a VNFM,
the management node changes the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit, including:
the VNFM sending, to the NFVO, the number of the at least one region and the number of the at least one virtual unit being used for the NFVO to alter the reliability parameter;
the VNFM receives the changed reliability parameter sent by the NFVO, where the changed reliability parameter is determined by the NFVO according to the number of the at least one region and the number of the at least one virtual unit.
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 changing, by the management node, the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit includes:
the management node inquires whether a preset switch item in the descriptor is opened or not, wherein the switch item is used for indicating whether the management node is allowed to change the reliability parameter or not;
and if the switch item is started, the management node changes the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit.
With reference to the first aspect or any implementation manner of the first possible implementation manner of the first aspect to the seventh possible implementation manner of the first aspect, in an eleventh possible implementation manner, 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 changed reliability parameter, where the method further includes:
the management node determining whether to allow use of the changed reliability parameter;
the management node sends a change response message to the VIM, wherein the change response message is used for indicating whether the changed reliability parameters are allowed to be used or not.
With reference to the first aspect or any implementation manner of the first possible implementation manner of the first aspect to the seventh possible implementation manner of the first aspect, in a twelfth possible implementation manner, the resource 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 scenario that meets the reliability parameter and is allowed by the VIM, where the method further includes:
the management node determines a first deployment scenario from the at least one deployment scenario;
and the management node sends a resource deployment indication message to the VIM, wherein the resource deployment indication message carries the first deployment scheme, and the resource deployment indication message is used for indicating the VIM to deploy the virtual resources according to the first deployment scheme.
In a second aspect, an embodiment of the present invention provides a method for deploying virtual resources, including:
a virtual machine infrastructure management node (VIM) receives a first resource deployment request message sent by a management node, wherein the first resource deployment request message carries a reliability parameter, the reliability parameter is used for representing the maximum number of virtual units allowed to be deployed in a region, the first resource deployment request message is used for requesting the VIM to deploy virtual resources to be deployed, and the virtual resources comprise at least one virtual unit;
the VIM determines a request result of the first resource deployment request message according to the reliability parameter, the number of the at least one region managed by the VIM and the number of the at least one virtual unit, wherein the request result comprises success or failure of request of the first resource deployment request message;
and the VIM sends a resource deployment response message to the management node according to the request result, wherein the resource deployment response message is used for indicating the success or failure of the request of the first resource deployment request message.
According to the virtual resource deployment method provided by the embodiment of the invention, after receiving the first resource deployment request message sent by the management node, the VIM can determine the maximum number of the virtual units which can be deployed in one area according to the reliability parameters carried in the first resource deployment request message, so that the virtual resource deployment is carried out according to the reliability parameters, further the situation that the VIM possibly deploys all the virtual resources in one area in the prior art is avoided, and the reliability of resource deployment is improved.
In a first possible implementation form of the second aspect,
the reliability parameter is expressed in a form including at least one of an absolute parameter, a relative parameter, a ratio, and a grade.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a third possible implementation manner,
the first resource deployment request message is specifically a resource reservation request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource reservation request message is used for requesting the VIM to reserve the virtual resources.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a fourth possible implementation manner,
the first resource deployment request message is specifically a resource allocation request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource allocation request message is used for requesting the VIM to allocate the virtual resource.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a fifth possible implementation manner,
the first resource deployment request message is specifically a resource migration request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource migration request message is used for requesting the VIM to migrate the virtual resource to the at least one area.
With reference to any one implementation manner of the third possible implementation manner of the second aspect to the fifth possible implementation manner of the second aspect, in a sixth possible implementation manner,
the management node is a network function virtualization scheduling node NFVO.
With reference to the third possible implementation manner of the second aspect, in a seventh possible implementation manner,
the management node is a virtual network function management node (VNFM).
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 an eighth possible implementation manner, the determining, by the VIM, a request result of the first resource deployment request message according to the reliability parameter, the number of at least one region managed by the VIM, and the number of at least one virtual unit includes:
determining, by the VIM, whether the number of the at least one region satisfies the reliability parameter according to the number of the at least one virtual unit, the number of the at least one region, and the reliability parameter;
if the VIM determines that the number of the at least one region does not satisfy the reliability parameter, the VIM determines that the request of the first resource deployment request message fails;
if the VIM determines that the number of the at least one region meets the reliability parameter, the VIM determines that the request of the first resource deployment request message is successful.
With reference to the eighth possible implementation manner of the second aspect, in a 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, the resource deployment response message carries the number of the at least one region, and the number of the at least one region is used for the management node to change the reliability parameter, so that the changed reliability parameter meets the number of the regions.
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 that the request of the first resource deployment request message fails,
before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
the VIM changes the reliability parameters according to the number of the at least one region and the number of the at least one virtual unit, wherein the changed reliability parameters meet the number of the at least one region;
the resource deployment response message carries the changed reliability parameter;
after the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
the VIM receives a change response message sent by the management node, wherein the change response message is used for indicating whether the changed reliability parameters are allowed to be used or not;
if the change response message is used for indicating that the changed reliability parameter is allowed to be used, the VIM deploys the virtual resource according to the changed reliability parameter.
With reference to the eighth possible implementation manner of the second aspect, in an eleventh possible implementation manner,
if the request of the first resource deployment request message is successful, the resource deployment response message is used for indicating that the request of the first resource deployment request message is successful;
before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
the VIM determines at least one deployment scheme which meets the reliability parameters and is allowed by the VIM according to the number of the at least one virtual unit and the at least one region;
the resource deployment response message carries the at least one deployment scheme;
after the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
the VIM receives a resource deployment indication message sent by the management node, wherein the resource deployment indication message carries the first deployment scheme, and the first deployment scheme is determined from the at least one deployment scheme after the management node receives the resource deployment response message;
the VIM deploys the virtual resources on the at least one region according to the first deployment scenario.
With reference to the eighth possible implementation manner of the second aspect, in a twelfth possible implementation manner, the first resource deployment request message further carries a deployment scheme selection rule, where the deployment scheme selection rule is used by the VIM to select a first deployment scheme from the at least one deployment scheme;
if the request of the first resource deployment request message is successful, the resource deployment response message is used for indicating that the request of the first resource deployment request message is successful;
before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
the VIM determines at least one deployment scheme which meets the reliability parameters and is allowed by the VIM according to the number of the at least one virtual unit and the at least one region;
said VIM selecting said first deployment scenario from said at least one deployment scenario according to said deployment scenario selection rules;
the VIM deploys the virtual resources on the at least one region according to the first deployment scenario.
In a third aspect, an embodiment of the present invention provides a management node, including:
a sending unit, configured to send a first resource deployment request message to a 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, the virtual resource includes at least one virtual unit, the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, and the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in a region;
a receiving unit, configured to receive, by the management node, a resource deployment response message sent by the VIM, where the resource deployment response message is used to indicate that a request of the first resource deployment request message is successful or failed.
The technical effect of the management node provided in the embodiment of the present invention may refer 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, and is not described herein again.
In a first possible implementation form of the third aspect,
the expression form of the reliability parameter transmitted by the transmitting unit includes at least one of an absolute parameter, a relative parameter, a proportion, and a grade.
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 obtaining unit,
the obtaining unit is configured to obtain the reliability parameter from a preset descriptor of the virtual resource.
With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner,
the first resource deployment request message sent by the sending unit is a first resource allocation request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource allocation request message is specifically configured to request the VIM to allocate the virtual resource.
With reference to the second possible implementation manner of the third aspect, in a fourth possible implementation manner,
the first resource deployment request message sent by the sending unit is specifically a first resource reservation request message;
the first resource deployment request message is specifically used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource reservation request message is used for requesting the VIM to reserve the virtual resources.
With reference to the second possible implementation manner of the third aspect, in a fifth possible implementation manner,
the first resource deployment request message sent by the sending unit is specifically a first resource migration request message;
the first resource deployment request message is specifically used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource migration request message is used for requesting the VIM to migrate the virtual resources to at least one area managed by the VIM.
With reference to any one implementation manner of the second possible implementation manner of the third aspect to the fifth possible implementation manner of the third aspect, in a sixth possible implementation manner,
the management node is NFVO;
the descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor NSD.
With reference to the third possible implementation manner of the third aspect, in a seventh possible implementation manner,
the management node is a virtual VNFM;
the descriptor is VNFD.
With reference to the third aspect or any implementation manner of the first possible implementation manner of the third aspect to the seventh possible implementation manner of the third aspect, in an eighth possible implementation manner, the resource deployment response message received by the receiving unit is used to indicate that the request of the first resource deployment request message fails, where the resource deployment response message carries the number of at least one area managed by the VIM, and the management node further includes a changing unit:
the changing unit is configured to change the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit, where the changed reliability parameter satisfies the number of the at least one region.
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.
With reference to the eighth possible implementation manner of the third aspect, in a ninth possible implementation manner, when the management node is a VNFM,
the changing unit is specifically configured to send, to the NFVO, the number of the at least one region and the number of the at least one virtual unit, where the number of the at least one region and the number of the at least one virtual unit are used by the NFVO to change the reliability parameter;
the changing unit is further configured to receive the changed reliability parameter sent by the NFVO, where the changed reliability parameter is determined by the NFVO according to the number of the at least one region and the number of the at least one virtual unit.
With reference to the eighth possible implementation manner of the third aspect or the ninth possible implementation manner of the third aspect, in a tenth possible implementation manner,
the changing unit is specifically configured to query whether a switch item preset in the descriptor is turned on, where the switch item is used to indicate whether the management node is allowed to change the reliability parameter; and if the switch item is opened, changing the reliability parameter 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 implementation manner of the first possible implementation manner of the third aspect to the seventh possible implementation manner of the third aspect, in an eleventh possible implementation manner, the resource deployment response message received by the receiving unit 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, where the managing unit further includes a determining unit,
the determining unit is used for determining whether the changed reliability parameter is allowed to be used;
the sending unit is further configured to send a change response message to the VIM, where the change response message is used to indicate whether to allow the use of the changed reliability parameter.
With reference to the third aspect or any implementation manner of the first possible implementation manner of the third aspect to the seventh possible implementation manner of the third aspect, in an eleventh possible implementation manner, the resource deployment response message received by the receiving unit is used to indicate that the request of the first resource deployment request message is successful, where the resource deployment response message carries at least one deployment scenario that meets the reliability parameter and is allowed by the VIM, and the management node further includes a determining unit:
the determining unit is configured to determine a first deployment scenario from the at least one deployment scenario received by the receiving unit;
the sending unit 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 indicate the VIM to deploy the virtual resource according to the first deployment scheme.
In a fourth aspect, an example of the invention provides a VIM, comprising:
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, the reliability parameter is used to characterize a maximum number of virtual units allowed to be deployed in a region, the first resource deployment request message is used to request the VIM to deploy virtual resources to be deployed, and the virtual resources include at least one virtual unit;
a determining unit, configured to determine, according to the reliability parameter received by the receiving unit, the number of the at least one region managed by the VIM, and the number of the at least one virtual unit, a request result of the first resource deployment request message, where the request result includes a request success or a request 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 that the request of the first resource deployment request message is successful or failed.
The technical effect of the VIM provided by the embodiment of the present invention may refer to the technical effect of the management node described in the deployment method of virtual resources performed by the VIM in the second aspect, and is not described herein again.
In a first possible implementation form of the fourth aspect,
the representation of the reliability parameter received by the receiving unit includes at least one of an absolute parameter, a relative parameter, a ratio, and a grade.
With reference to the fourth aspect or the first possible implementation manner of the second aspect, in a third possible implementation manner,
the first resource deployment request message received by the receiving unit is specifically a resource reservation request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource reservation request message is used for requesting the VIM to reserve the virtual resources.
With reference to the fourth aspect or the first possible implementation manner of the fourth aspect, in a fourth possible implementation manner,
the first resource deployment request message received by the receiving unit is specifically a resource allocation request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource allocation request message is used for requesting the VIM to allocate the virtual resource.
With reference to the fourth aspect or the first possible implementation manner of the fourth aspect, in a fifth possible implementation manner,
the first resource deployment request message received by the receiving unit is specifically a resource migration request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource migration request message is used for requesting the VIM to migrate the virtual resource to the at least one area.
With reference to any one implementation manner of the third possible implementation manner of the fourth aspect to the fifth possible implementation manner of the fourth aspect, in a sixth possible implementation manner,
the management node is NFVO.
With reference to the third possible implementation manner of the fourth aspect, in a seventh possible implementation manner,
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 an eighth possible implementation manner,
the determining unit is specifically configured to determine, by the VIM, whether the number of the at least one region satisfies the reliability parameter according to the number of the at least one virtual unit, the number of the at least one region, and the reliability parameter;
determining that the request of the first resource deployment request message fails if it is determined that the number of the at least one region does not satisfy the reliability parameter;
and if the number of the at least one region is determined to meet the reliability parameter, determining that the request of the first resource deployment request message is successful.
With reference to the eighth possible implementation manner of the fourth aspect, in a ninth 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 to indicate that the request of the first resource deployment request message fails, the resource deployment response message carries the number of the at least one region, and the number of the at least one region is used for the management node to change the reliability parameter, so that the changed reliability parameter meets the number of the regions.
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 to indicate that the request of the first resource deployment request message fails, the VIM further includes a changing unit and a deploying unit,
the changing unit is configured to change the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit, where the changed reliability parameter satisfies the number of the at least one region;
the resource deployment response message sent by the sending unit carries the changed reliability parameter;
the receiving unit is further configured to receive a change response message sent by the management node after the sending unit sends a resource deployment response message to the management node, where the change response message is used to indicate whether to allow the changed reliability parameter to be used;
the deployment unit is configured to deploy, if the change response message received by the receiving unit indicates that the reliability parameter after the change is allowed to be used, the VIM deploys the virtual resource according to the reliability parameter after the change.
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 is successful, the resource deployment response message is used for indicating that the request of the first resource deployment request message is successful;
the determining unit is further configured to determine, before the sending unit sends a resource deployment response message to the management node according to the request result, at least one deployment scenario that meets 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 region;
the resource deployment response message sent by the sending unit carries the at least one deployment scheme;
the receiving unit is further configured to receive a resource deployment indication message sent by the management node before the sending unit sends a resource deployment response message to the management node according to the request result, where the resource deployment indication message carries the first deployment scheme, and the first deployment scheme is determined from the at least one deployment scheme after the management node receives the resource deployment response message;
the VIM further includes a deployment unit that,
the deployment unit is configured to deploy the virtual resource on the at least one region according to the first deployment scenario.
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, where the deployment scheme selection rule is used by the VIM to select a first deployment scheme from the at least one deployment scheme;
if the determining unit determines that the request of the first resource deployment request message is successful, the resource deployment response message is used for indicating that the request of the first resource deployment request message is successful;
the determining unit is further configured to determine, before the sending unit sends a resource deployment response message to the management node according to the request result, at least one deployment scenario that meets 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 region, and select the first deployment scenario from the at least one deployment scenario according to the deployment scenario selection rule;
the VIM further includes a deployment unit that,
the deployment unit is configured to deploy the virtual resource on the at least one region according to the first deployment scenario.
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 configured to store a computer executable instruction, the processor is connected to the memory through the system bus, and when the management node runs, the processor executes the computer executable instruction stored in the memory, so that the management node executes the method for deploying virtual resources according to the first aspect or any implementation manner of the first aspect.
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;
the memory is configured to store computer executable instructions, the processor is connected to the memory through the system bus, and when the VIM runs, the processor executes the computer executable instructions stored in the memory, so that the VIM executes the method for deploying virtual resources according to any implementation manner of the second aspect or the second aspect.
In a seventh aspect, an embodiment of the present invention provides a communication system, including:
a management node as shown in any implementation of the third aspect or the third aspect, and a VIM as shown in any implementation of the fourth aspect or the fourth aspect; alternatively, the first and second electrodes may be,
a management node as shown in any implementation of the fifth aspect or the fifth aspect as such, and a VIM as shown in any implementation of the sixth aspect or the sixth aspect as such.
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, and the reliability parameter represents the maximum number of virtual units allowed to be deployed in a region, so that after receiving the first resource deployment request message, the VIM can determine the maximum number of virtual units that can be deployed in a region, and deploy virtual resources according to the reliability parameter, thereby avoiding that the VIM in the prior art may deploy all virtual resources in a region, and improving the reliability of resource deployment.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a block diagram of an NFV system according to an embodiment of the present invention;
fig. 2 is an interaction diagram of a method for deploying virtual resources according to an embodiment of the present invention,
fig. 3 is an interaction diagram ii of a virtual resource deployment method according to an embodiment of the present invention;
fig. 4 is a third interaction diagram of a deployment method of virtual resources according to an embodiment of the present invention;
fig. 5 is an interaction diagram four of a deployment method of virtual resources according to an embodiment of the present invention;
fig. 6 is an interaction diagram five of a deployment method of virtual resources according to an embodiment of the present invention;
fig. 7 is a first schematic structural diagram of a management node according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a management node according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a management node according to an embodiment of the present invention;
fig. 10 is a first schematic structural diagram of a VIM according to an embodiment of the present invention;
fig. 11 is a second schematic structural diagram of a VIM according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a hardware structure of a management node according to an embodiment of the present invention;
fig. 13 is a schematic diagram of a hardware structure of a VIM according to an embodiment of the present invention;
fig. 14 is a block diagram of a communication system according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a block diagram of an NFV system. The NFV system includes: network function virtualization scheduling Node (NFVO), virtual network function management node (VNFM), virtual machine infrastructure management node (VIM), Operation Support System (OSS) or Business Support System (BSS), network element management node (EMs, EM), VNF, virtual network function infrastructure (NFVI), network service (vnns) directory, and directory f, etc.
In the NFV system, NFVO, VNFM, and VIM form a management and orchestration (NFV-MANO) domain of the NFV system, where NFVO may also be referred to as a network function virtualization orchestrator, and OSS/BSS may also be referred to as a network management Node (NM).
Wherein, the EM performs function configuration, fault management, recording of function use condition, performance statistics, security management, and the like for one or more VNFs.
The VNF is a virtualized logical network element, such as SGSN, MME, GGSN, SGW, PGW, etc. in the field of telecommunication packet, and each network element can be deployed independently and appears as one VNF.
NFVI provides the VNF with hardware resources and virtualized resources and management thereof, as well as a virtualized execution environment.
NFVO is responsible for the life cycle management of NS and can orchestrate the resources of NFVI by instructing VIM.
The VNFMs are responsible for lifecycle management of VNFs, each VNF having an associated VNFM. One VNFM may manage one VNF and may also manage multiple VNFs of the same type or even different types.
The NS directory stores a Network Service Descriptor (NSD), which is a template for describing the deployment and maintenance behavior of the NS, and includes a service topology and characteristics of the NS, where the service topology includes various components and relationships between VNFs, a Virtual Link (VL), a VNF forwarding table (VNF forwarding graph, VNFFG), and the like, and can be read by the NFVO. NFVO operates to deploy and maintain virtual resources to the NS, typically according to VSDs.
The VNF directory stores VNF descriptors (english: VNF descriptors, abbreviated as VNFD), which are templates describing VNF deployment and maintenance behaviors and can be read by VNFM or NFVO, software images, files, and the like. VNFM or NFVO typically performs operations of deployment and maintenance of virtual resources on VNF according to VNFD.
The VIM is responsible for controlling and managing resources in the VNFI infrastructure, including: computing resources, storage resources, network resources, etc., which are typically an operator's infrastructure.
In order to facilitate understanding of the method flow in the embodiment of the present invention, the following keywords are further explained below:
a virtual unit is a basic unit in a deployment process of a virtual resource, for example, when a VNF is instantiated, a plurality of VMs forming the VNF need to be deployed, where each VM of the plurality of VMs is a virtual unit; when an NS is instantiated, multiple VNFs constituting the NS need to be deployed, and each VNF in the multiple VNFs is a virtual unit.
The region is a region range in which reliability is limited in the deployment process of the virtual resources. For example, for VNF, a region may refer to a host (host), a cabinet (shelf), etc., and for NS, a region may refer to a specific geographic region, such as a suburban area, a city area, etc.
The reliability parameter is expressed in the maximum number of virtual units allowed to be deployed in a region in the process of deploying the virtual resource, and it can be understood that the smaller the number of virtual units allowed to be deployed in a region, the higher the reliability of the NS or VNF composed of the virtual resource is.
It should be noted that any one of the functional nodes in the NFV system may be distributed on one entity device, or may be distributed on multiple entity devices, and multiple functional nodes in the NFV system may be distributed on different entity devices, or may be distributed on the same entity device. It is to be understood that any functional node in the NFV system may be a logical functional module in an entity device, or may be a logical functional module composed of a plurality of entity devices.
Therefore, in the embodiment of the present invention, one entity device may execute each step in the method provided in the embodiment of the present invention, and a plurality of entity devices may cooperate to execute each step in the method provided in the embodiment of the present invention, which is not limited to this.
Further, in order to more clearly describe the deployment method of virtual resources provided by the present invention, the following description uses a logic function module (i.e. a function node in the NFV system) as an execution subject or a control object, and it should be understood by those skilled in the art that the logic function module depends on hardware resources on an entity device where the logic function module is located when being specifically implemented.
In the embodiment of the present invention, the NFV system may be applied to a Long Term Evolution (LTE) communication system, and may also be applied to an LTE evolution communication system, such as an LTE-a (long term evolution advanced) system, and may also be applied to a third Generation mobile communication (3 rd-Generation, abbreviated as 3G) system, such as WCDMA, and the like, which are not limited in the present invention.
It should be noted that, in the embodiments of the present invention, the terms "first", "second" and "third" are used for descriptive purposes only and are used for distinguishing different descriptive objects, and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
An embodiment of the present invention provides a method for deploying virtual resources, and as shown in fig. 2, the method may include:
s101, a management node sends a first resource deployment request message to a VIM, wherein the first resource deployment request message is used for requesting the VIM to deploy a virtual resource to be deployed, the virtual resource comprises at least one virtual unit, and the first resource deployment request message carries a reliability parameter corresponding to the virtual resource.
Wherein the reliability parameter is used to characterize a maximum number of virtual units allowed to be deployed within an area.
It should be noted that, in the 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 grade.
Specifically, for example, the values such as 1, 2, 5, etc. may represent absolute parameters, and take the absolute parameter 2 as an example, to characterize that at most 2 virtual units may be deployed in the same area, for example, when a certain VNF is instantiated, at most 2 VMs constituting the VNF are deployed on one host, and when a certain NS is instantiated, at most 2 VNFs constituting the NS are deployed in a suburban area.
The values of 10%, 20%, 30%, etc. may represent relative parameters, and for example, 20% of the relative parameters may represent virtual units that represent at most 20% of the number of virtual units that may be deployed in an area. For example, the number of VMs constituting a certain VNF is 10, and when the VNF is instantiated, a maximum of 10 × 20% ═ 2 VMs are deployed on one host.
The 1/2, 1/3, 2/5, etc. values may represent ratios, with the ratio 1/3 being an example, to characterize a virtual unit that may be deployed in an area up to 1/3 of the number of multiple virtual units. For example, the number of VNFs constituting an NS is 8, and when the NS is instantiated, a maximum of 2 VNFs are deployed on one host (8 × 1/3 is an integer).
Optionally, the reliability may be further divided into a plurality of levels, for example, the reliability may be divided into the highest, high, medium, low, and the lowest five levels, which respectively correspond to the reliability parameters of 0%, 25%, 50%, 75%, and 100%.
It should be noted that, the network maintenance personnel may set a 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, and the reliability parameter is carried in the first resource deployment request message and is sent to the VIM.
Specifically, the reliability parameter may be set in any module in the VNFD, for example, a deployment description template (VDU) of the VNF module, an Internal Virtual Link (IVLD) or an IVL descriptor (IVL descriptor, IVLD) of the VNF module, and the like.
Therefore, the management node may specifically obtain the preset reliability parameters from VNFC, VDU, IVL, IVLD, or deployment customization.
The reliability parameter may also be set in any module in NS D, such as VL or VNFFG.
Therefore, the management node may specifically obtain the preset reliability parameter from VL or VNFFG.
It should be noted that, in the embodiment of the present invention, the management node may be an NFVO or a VNFM. When the management node is an NFVO, the descriptor may be a VNFD or an NSD, and the NFVO may perform virtual resource deployment on the VNF by acquiring information in the VNFD or perform virtual resource deployment and maintenance on the NS by acquiring information in the NSD.
When the management node is a VNFM, the descriptor may be a VNFD, and the VNFM may perform deployment and maintenance of virtual resources on the VNF by acquiring information in the VNFD.
S102, the VIM receives a first resource deployment request message sent by the management node.
S103, the VIM determines a request result of the first resource deployment request message according to the reliability parameter, the number of the at least one region managed by the VIM, and the number of the at least one virtual unit, where the request result includes a request success or a request failure of the first resource deployment request message.
It should be noted that the request success of the first resource deployment request message includes that the VIM successfully performs resource deployment 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 deploy the resource according to the reliability parameter.
Specifically, the S103 may specifically include:
the VIM determines whether the number of the at least one region satisfies the reliability parameter according to the number of the at least one virtual unit, the number of the at least one region, and the reliability parameter.
Wherein if the VIM determines that the number of the at least one region does not satisfy the reliability parameter, the VIM determines that the request of the first resource deployment request message failed.
If the VIM determines that the number of the at least one region meets the reliability parameter, the VIM determines that the request of the first resource deployment request message is successful.
For better illustration, in order to better illustrate that the VIM determines whether the number of the at least one region satisfies the reliability parameter according to the number of the at least one virtual unit, the number of the at least one region, the following is an exemplary description taking the at least one virtual unit as 8 VMs, and the reliability parameter as 2.
After receiving the first resource deployment request message, the VIM determines that 8 VMs need to be deployed according to the first resource deployment request message, and if the reliability parameter is 2, the VIM determines that at least 8/2 of the 8 VMs needs to be deployed — 4 hosts.
Assuming that at least one area managed by the VIM is 3 hosts, since at least one host needs to deploy 2 or more VMs when the 8 VMs are deployed on 3 hosts, the at least one host does not meet the reliability parameter 2, and since 3 is less than 4, the VIM determines that the number of hosts managed by the VIM does not meet the reliability parameter, and further, the VIM determines that the request of the first resource deployment request message fails, that is, the VIM determines that the 8 VMs cannot be successfully deployed on 3 hosts according to the reliability parameter, since the number of hosts managed by the VIM is less than 4.
Assuming that the at least one region 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 further determines that the request of 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.
And S104, the VIM sends a resource deployment response message to the management node according to the request result, wherein the resource deployment response message is used for indicating the success or failure of the request of the first resource deployment request message.
And S105, the management node receives the resource deployment response message sent by the VIM.
In the embodiment of the invention, when the management node requests the VIM for resource deployment, the preset reliability parameter is carried in the resource deployment request message and sent to the VIM, so that the VIM can deploy the virtual resources according to the reliability parameter, the maximum number of virtual units allowed to be deployed by the VIM in one area is limited, and the situation that the VIM possibly deploys all the virtual resources in one area in the prior art is avoided, and the reliability of resource deployment is improved.
Further, in an aspect, in case of a failure of the request of the first resource deployment request message, the management node and the VIM may perform the following two subsequent operations.
(1) If the VIM determines that the request of the first resource deployment request message fails, the resource deployment response message is used for indicating that the request of the first resource deployment request message fails, and the resource deployment response message carries the number of at least one region managed by the VIM, wherein the number of the at least one region is used for the management node to change the reliability parameter, so that the changed reliability parameter meets the number of the regions managed by the VIM.
Specifically, if the VIM determines that the request of the first resource deployment request message fails, referring to fig. 2, as shown in fig. 3, after S105, the method further includes:
s106, the management node changes the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit, and the changed reliability parameter meets the number of the at least one region.
Illustratively, assuming that the at least one virtual unit includes 8 VMs, the at least one zone includes 3 hosts. After receiving the resource deployment response message sent by the VIM, the management node determines that the request of the first resource deployment request message fails, and determines that 3 hosts managed by the VIM are in total, and further, the management node may determine that the deployment schemes that can successfully deploy 8 VMs on 3 hosts may include "008" and "017", which respectively indicate that 8 VMs are all deployed on the same 1 host among the 3 hosts, and 1 VM is deployed on a certain 1 host among the 3 hosts, and another 7 VMs are deployed on another 1 host among the 3 hosts. By analogy, the deployment scenarios that the management node can determine also include "026", "035", "044", "116", "125", "134", "224", and "233".
Since the smaller the maximum number of virtual units allowed to be deployed in a region is, the higher the reliability is, the management node may determine the deployment scheme with the least virtual units deployed in a region, that is, "233" is the deployment scheme with the highest reliability among the 10 deployment schemes, and the maximum number of virtual units deployed in a region in the deployment scheme is 3, that is, the reliability parameter corresponding to the deployment scheme is 3, so the management node may change the reliability parameter from the original 2 to 3. The modified reliability parameter satisfies the number of the at least one region.
S107, the management node sends a second resource deployment request message to the VIM, wherein the second resource deployment request message carries the changed reliability parameters.
It should be noted that, in the embodiment of the present invention, after the request of the first resource deployment request message fails, the management node may change the originally preset reliability parameter according to the actual physical resource, that is, the number of the at least one region managed by the VIM, and change the originally preset reliability parameter into a parameter meeting the number of the at least one region, and carry the changed reliability parameter in the second resource deployment request message, and send the second resource deployment request message to the VIM, so as to request the VIM to deploy the virtual resource to be deployed according to the changed reliability parameter again. Since the changed reliability parameter satisfies the number of the at least one region, after receiving the second resource deployment request message, the VIM can successfully deploy the virtual resource in the at least one region according to the changed reliability parameter.
It can be understood that, in the deployment method of virtual resources provided in the embodiment of the present invention, because the preset reliability parameter has adjustability, when the number of the areas managed by the VIM does not meet the preset reliability parameter, the reliability can be changed to ensure that the virtual resources can be successfully deployed in the area, ensure the reliability of virtual resource deployment, and improve the flexibility of virtual resource deployment.
Optionally, in the actual application, there is a possible application scenario, that is, according to the requirement of the actual project, in the process of performing virtual resource deployment, resource deployment must be performed strictly according to the preset reliability parameter, that is, the reliability parameter is not allowed to be changed. Then in the 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, the representation allows the management node to change the reliability parameter; and if the switch item is closed, the representation does not allow the management node to change the reliability parameter.
For example, the switch item may be a flag, and if the flag is assigned to 1, it indicates that the switch item is turned on, and if the flag is assigned to 0, it indicates that the switch item is turned off; the strings off and on may also be used to characterize the turning off and turning on of the switch item, and the embodiment of the present invention is not limited thereto.
Further, before 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, the management node may first query whether a switch item preset in a descriptor storing the reliability parameter is turned on, and if the switch item is turned on, the management node may perform the step of changing the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit. Otherwise, the management node does not modify the reliability parameter, and in this case, the management node may prompt a network maintainer that the request of the first resource deployment request message fails, and notify the network maintainer of the number of the at least one region, so that the network maintainer may know that the number of the regions managed by the VIM is insufficient, and then the network maintainer may increase the deployment of the physical resource, so that the physical resource may meet the requirement for deploying the virtual resource to be deployed, and thus the virtual resource to be deployed may be successfully deployed according to the required reliability parameter.
(2) And if the request of the first resource deployment request message fails, the resource deployment response message is used for indicating that the request of the first resource deployment request message fails.
Further, before the step S104, the method further includes:
and S1, the VIM modifies the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit, wherein the modified reliability parameter satisfies the number of the at least one region.
That is, in the present embodiment, the VIM may modify the reliability parameter itself to determine a reliability parameter that satisfies the number of areas managed by the VIM.
Specifically, the specific method for the VIM to change the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit may refer to the specific method for the management node to change the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit in S106, and details are not described here.
Further, after the VIM determines the changed reliability parameter, the changed reliability parameter can be carried in a resource deployment response message and sent to the management node, so as to inquire whether the management node can use the changed reliability parameter.
Further, after S105, the method further includes:
s2, the management node determines whether to allow the changed reliability parameter to be used.
For example, the management node may determine that the changed reliability parameter is allowed to be used by querying whether a switch item in the descriptor storing the reliability parameter is turned on, and if the switch item is turned on; if the switch item is closed, the management node determines that the changed reliability parameter is not allowed to be used.
The management node may also determine whether to allow the use of the modified reliability parameter according to an instruction of a network maintainer by prompting the network maintainer of the modified reliability parameter sent by the VIM.
It should be noted that, the way of determining whether to allow the modified reliability parameter to be used by the management node may be set according to the actual requirement in the engineering, and the present invention is not limited thereto.
S3, the management node sends a change response message to the VIM, the change response message indicating whether the changed reliability parameters are allowed to be used.
S4, the VIM receives the change response message sent by the management node.
And S5, if the change response message is used for indicating that the changed reliability parameter is allowed to be used, the VIM deploys the virtual resource according to the changed reliability parameter.
On the other hand, if the request of the first resource deployment request message is successful, the VIM may deploy the virtual resource according to the reliability parameter in at least the following two ways.
First, referring to fig. 2, as shown in fig. 4, before the step S104, the method further includes:
and S108, the VIM determines at least one deployment scheme which meets 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 region.
For example, the reliability parameters are 4, 8 VMs and 3 hosts.
From reliability parameter 4, the VIM determines all deployment scenarios that can successfully deploy 8 VMs on 3 hosts, including "044", "134", "224", and "233". Among them, since the deployment scenario "233" is the deployment scenario in which the VM is least deployed on one host among the deployment scenarios, the deployment scenario "233" is the deployment scenario with the highest reliability among all the deployment scenarios allowed by the VIM.
When the VIM determines that all deployment schemes that satisfy the reliability parameter and are allowed by the VIM, the VIM may send at least one deployment scheme of the all deployment schemes to the management node by carrying the deployment scheme in the resource deployment response message.
It should be noted that at least one deployment scenario may include all deployment scenarios allowed by the VIM, that is, the VIM may send all deployment scenarios allowed by the VIM to the management node by carrying them in a resource deployment response message, so as to request the management node to select one deployment scenario from all deployment scenarios allowed by the VIM.
At least one deployment scheme may include the deployment scheme with the highest reliability in all the deployment schemes allowed by the VIM, that is, the VIM may first select the deployment scheme with the highest reliability in all the deployment schemes allowed by the VIM, and then send the deployment scheme with the highest reliability in a resource deployment response message to the management node to inquire whether the management node may perform resource deployment according to the deployment scheme with the highest reliability.
Further, in the first mode, after S105, the method further includes:
s109, the management node determines a first deployment scheme from the at least one deployment scheme.
That is, after the management node receives the resource deployment response message, determines that the request of the first resource deployment request message is successful, and learns at least one deployment scheme allowed by the VIM from the resource deployment response message, the management node may randomly select one deployment scheme from the at least one deployment scheme as the first deployment scheme, or may select one deployment scheme with the highest reliability from the at least one deployment scheme as the first deployment scheme, which is not specifically limited in the present invention.
And S110, the management node sends a resource deployment indication message to the VIM, wherein the resource deployment indication message carries the first deployment scheme.
When the management node determines the first deployment scheme from the at least one deployment scheme, the management node may carry the first deployment scheme in the resource deployment indication message and send the resource deployment indication message to the VIM, so as to indicate the VIM to deploy the virtual resource according to the first deployment scheme.
And S111, the VIM receives the resource deployment indication message sent by the management node.
And S112, the VIM deploys the virtual resource on at least one area according to the first deployment scheme.
For example, in combination with the example in S107, assuming that the first deployment scenario is "233", the VIM may deploy 2 VMs on one host of the 3 hosts, and deploy 3 VMs on the other two hosts, respectively.
In a second mode, with reference to fig. 2, as shown in fig. 5, before the step S104, the method further includes:
and S108, the VIM determines at least one deployment scheme which meets 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 region.
S113, the VIM determines a first deployment scheme from the at least one deployment scheme according to the deployment scheme selection rule.
It should be noted that, in the second mode, the first resource deployment request message sent by the management node to the VIM further carries a deployment scheme selection rule, where the deployment scheme selection rule is used by the VIM to determine the first deployment scheme from the at least one deployment scheme.
Illustratively, the deployment scenario selection rule may be to select the deployment scenario with the highest reliability from at least one deployment scenario, for example, as illustrated in the embodiment shown in fig. 4, the deployment scenario "233" is selected. The deployment scheme selection rule may also be a deployment scheme that requires the least number of areas, for example, as illustrated in the embodiment shown in fig. 4, a deployment scheme "044" is selected, in which only two hosts are required to successfully deploy 8 VMs according to the requirement of the reliability parameter 4.
S114, the VIM deploys the virtual resource on at least one area according to the first deployment scheme.
Further, after the VIM completes the deployment of the virtual resource according to the first deployment scenario, a resource deployment response message may be sent to the management node to indicate that the request of the first resource deployment request message is successful.
It is worth to be noted that the virtual resource deployment method provided by the present invention can be applied to various application scenarios, for example, scenarios such as instantiation of VNF, instantiation of NS, extension process of VNF, extension of NS, migration of VNF, and migration of NS, which all include virtual resource deployment processes.
The deployment of the virtual resource may be reservation of the virtual resource, allocation of the virtual resource, or migration of the virtual resource.
Further, if the deployment of the virtual resource specifically refers to allocation of the virtual resource, the first resource deployment request message is specifically a first resource allocation request message, and the first resource allocation request message is used for requesting the VIM to allocate the virtual resource; if the deployment of the virtual resource specifically refers to the reservation of the virtual resource, the first resource deployment request message is specifically a first resource reservation request message, and the first resource reservation request message is used for requesting the VIM to reserve the virtual resource; if the deployment of the virtual resource specifically refers to migration of the virtual resource, the first resource deployment request message is specifically a first resource migration request message, and the first resource migration request message is used for requesting the VIM to migrate the virtual resource to at least one area managed by the VIM.
It should be noted that, in the instantiation process of the VNF or the extension process of the VNF, the VNFM may send a resource allocation request message to the VIM, requesting the VIM to allocate a virtual resource to the VNF, so when the deployment method of a virtual resource provided in the embodiment of the present invention is applied to the instantiation process of the VNF or the extension process of the VNF, and the virtual resource deployment specifically refers to allocation of a virtual resource, the management node may be the VNFM.
In particular, when the management node is a VNFM, the VNFM may have a 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 a function of changing the reliability parameter, so that when the request of the first resource allocation request message fails, the VNFM may request the NFVO to change the reliability parameter.
It can be understood that, if a switch item is set in the descriptor, the NFVO receives the VNFM request, queries whether the switch item is turned on before modifying the reliability parameter, and modifies the reliability parameter in response to the VNFM request when the switch type is turned on.
Specifically, as shown in fig. 6, when the VNFM does not have a function of changing the reliability parameter, and in a case that the request of the first resource allocation request message fails, the method for virtual resource deployment provided in the embodiment of the present invention may include:
s201, the VNFM sends a first resource allocation request message to the VIM, and the first resource allocation request message carries the reliability parameters.
S202, the VIM receives a first resource allocation request message sent by the VNFM.
S203, the VIM determines that the request of the first resource allocation request message fails according to the reliability parameter, the number of the at least one region managed by the VIM, and the number of the at least one virtual unit.
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 number of the at least one region.
S205, the VNFM receives the resource deployment response message sent by the VIM.
S206, the VNFM sends the number of the at least one zone and the number of the at least one virtual unit to the NFVO.
Wherein the VNFM may send the number of the at least one zone and the number of the at least one virtual unit to the NFVO in a message carrying information transfer between the VNFM and the VNFO.
S207, the NFVO changes the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit.
S208, the NFVO sends the changed reliability parameters to the VNFM.
S209, after receiving the modified 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 modified reliability parameter.
Furthermore, after receiving the second resource allocation request message, the VIM may perform virtual resource deployment according to the changed reliability parameters. It can be understood that, since the modified reliability parameter satisfies the number of the regions managed by the VIM, the VIM can successfully perform the deployment of the virtual resource according to the modified reliability parameter.
The embodiment of the invention provides a deployment method of virtual resources, a management node can carry reliability parameters in a first resource deployment request message, and the reliability parameters represent the maximum number of virtual units allowed to be deployed in a region, so that after receiving the first resource deployment request message, a VIM VIM can determine the maximum number of virtual units capable of being deployed in a region and deploy virtual resources according to the reliability parameters, thereby avoiding that the VIM can deploy all virtual resources in a region in the prior art and improving the reliability of resource deployment.
As shown in fig. 7, the embodiment of the present invention provides a management node, which is configured to perform the steps performed by the management node in the above method. The management node may include modules corresponding to the respective steps. Illustratively, the management node may include:
a sending unit 10, configured to send a first resource deployment request message to a 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, the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, and the reliability parameter is used to characterize a maximum number of virtual units allowed to be deployed in a region.
A receiving unit 11, configured to receive, by the management node, a resource deployment response message sent by the VIM, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or failed.
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 grade.
Optionally, with reference to fig. 7, as shown in fig. 8, the management node further includes an obtaining unit 12.
The obtaining unit 12 is configured to obtain the reliability parameter from a preset descriptor of the virtual resource.
Optionally, the first resource deployment request message sent by the sending unit 10 is a first resource allocation request message.
The first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource allocation request message is specifically configured to request the VIM to allocate the virtual resource.
Optionally, the first resource deployment request message sent by the sending unit 10 is specifically a first resource reservation request message.
The first resource deployment request message is specifically used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource reservation request message is used for requesting the VIM to reserve the virtual resources.
Optionally, the first resource deployment request message sent by the sending unit 10 is specifically a first resource migration request message.
The first resource deployment request message is specifically used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource migration request message is used for requesting the VIM to migrate the virtual resources to at least one area managed by the VIM.
Optionally, the management node is an NFVO.
The descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor NSD.
Optionally, the management node is a virtual VNFM.
The descriptor is VNFD.
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, where the resource deployment response message carries the number of the at least one region managed by the VIM.
In connection with fig. 8, as shown in fig. 9, the management node further comprises a change unit 13.
The changing unit 13 is configured to change the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit, where the changed reliability parameter satisfies the number of the at least one region.
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.
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 to the NFVO, where the number of the at least one area and the number of the at least one virtual unit are used by the NFVO to change the reliability parameter.
The changing unit 13 is further configured to receive the changed reliability parameter sent by the NFVO, where the changed reliability parameter is determined by the NFVO according to the number of the at least one region and the number of the at least one virtual unit.
Optionally, the changing unit 13 is specifically configured to query whether a preset switch item in the descriptor is turned on, where the switch item is used to indicate whether to allow the management node to change the reliability parameter; and if the switch item is opened, changing the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit.
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, where the resource deployment response message carries the changed reliability parameter, and the management unit further includes a determining unit 14.
The determining unit 14 is configured to determine whether to allow the modified reliability parameter to be used.
The sending unit 11 is further configured to send a change response message to the VIM, where the change response message is used to indicate whether to allow the use of the changed reliability parameter.
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, where the resource deployment response message carries at least one deployment scenario that meets the reliability parameter and is allowed by the VIM, and the management node further includes a determining unit 14:
the determining unit 14 is configured to determine a first deployment scenario from the at least one deployment scenario received by the receiving unit.
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 indicate the VIM to deploy the virtual resource according to the first deployment scheme.
It can be understood that the management node of this embodiment may correspond to the management node in the deployment method of virtual resources according to any one of fig. 2 to fig. 6, and the division and/or the function of each module in the management node of this embodiment are all for implementing the method flow shown in any one of fig. 2 to fig. 6, and are not described herein again for brevity.
The management node provided in the embodiment of the present invention can send a first resource deployment request message to a 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 a virtual resource to be deployed, the virtual resource includes at least one virtual unit, the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in a region, and the resource deployment response message is used to indicate success or failure of a request of the first resource deployment request message. Compared with the prior art, the management node carries the reliability parameter in the first resource deployment request message, and the reliability parameter represents the maximum number of the virtual units allowed to be deployed in one area, so that the VIM can be deployed according to the reliability parameter when the VIM deploys the resources according to the first resource deployment request message, thereby avoiding that the VIM in the prior art can deploy all the virtual resources in one area, and improving the reliability of resource deployment.
As shown in fig. 10, an embodiment of the present invention provides a VIM, where the management node is configured to perform the steps performed by the VIM in the above method. The VIM may include modules corresponding to the respective steps. Illustratively, the VIM may include:
a receiving unit 20, 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, the reliability parameter is used to characterize a maximum number of virtual units allowed to be deployed in a region, the first resource deployment request message is used to request the VIM to deploy virtual resources to be deployed, and the virtual resources include at least one virtual unit.
A determining unit 21, configured to determine a request result of the first resource deployment request message according to the reliability parameter received by the receiving unit 20, the number of the at least one region managed by the VIM, and the number of the at least one virtual unit, where the request result includes a request success or a request failure of the first resource deployment request message.
A sending unit 22, 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 that the request of the first resource deployment request message is successful or failed.
Optionally, the representation 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 grade.
Optionally, the first resource deployment request message received by the receiving unit 20 is specifically a resource reservation request message.
The first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource reservation request message is used for requesting the VIM to reserve the virtual resources.
Optionally, the first resource deployment request message received by the receiving unit 20 is specifically a resource allocation request message.
The first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource allocation request message is used for requesting the VIM to allocate the virtual resource.
Optionally, the first resource deployment request message received by the receiving unit 20 is specifically a resource migration request message.
The first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource migration request message is used for requesting the VIM to migrate the virtual resource to the at least one area.
Optionally, the management node is an NFVO.
Optionally, the management node is a VNFM.
Optionally, the determining unit 21 is specifically configured to determine, by the VIM, whether the number of the at least one region satisfies the reliability parameter according to the number of the at least one virtual unit, the number of the at least one region, and the reliability parameter.
Determining that the request of the first resource deployment request message fails if it is determined that the number of the at least one region does not satisfy the reliability parameter.
And if the number of the at least one region is determined to meet the reliability parameter, determining that the request of the first resource deployment request message is successful.
Optionally, if the determining unit 21 determines that 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, where the resource deployment response message carries the number of the at least one area, and the number of the at least one area is used for the management node to change the reliability parameter, so that the changed reliability parameter meets the number of the areas.
Optionally, 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.
The determining unit 21 is further configured to determine, before the sending unit 22 sends a resource deployment response message to the management node according to the request result, at least one deployment scenario that meets 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 region.
The resource deployment response message sent by the sending unit 22 carries the at least one deployment scenario.
The receiving unit 20 is further configured to receive a resource deployment indication message sent by the management node before the sending unit 22 sends a resource deployment response message to the management node according to the request result, where the resource deployment indication message carries the first deployment scheme, and the first deployment scheme is determined from the at least one deployment scheme after the management node receives the resource deployment response message.
Referring to fig. 10, as shown in fig. 11, the VIM further includes a deployment unit 23.
The deployment unit 23 is configured to deploy the virtual resource on the at least one area according to the first deployment scheme.
Optionally, the first resource deployment request message received by the receiving unit 20 further carries a deployment scheme selection rule, where the deployment scheme selection rule is used for the VIM to select a first deployment scheme from the at least one deployment scheme.
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.
The determining unit 21 is further configured to determine, before the sending unit 22 sends a resource deployment response message to the management node according to the request result, at least one deployment scenario 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 region, and select the first deployment scenario from the at least one deployment scenario according to the deployment scenario selection rule.
The deployment unit 23 is configured to deploy the virtual resource on the at least one area according to the first deployment scheme.
Optionally, if the determining unit 21 determines that 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 VIM further includes a changing unit 24 and a deploying unit 23.
The changing unit 24 is configured to change the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit, where the changed reliability parameter satisfies the number of the at least one region.
The resource deployment response message sent by the sending unit 22 carries the changed reliability parameter.
The receiving unit 20 is further configured to receive a change response message sent by the management node after the sending unit 22 sends a resource deployment response message to the management node, where the change response message is used to indicate whether to allow the use of the changed reliability parameter.
The deploying unit 23 is configured to deploy, if the change response message received by the receiving unit is used to indicate that the reliability parameter after the change is allowed to be used, the VIM deploys the virtual resource according to the reliability parameter after the change.
It can be understood that the VIM of this embodiment may correspond to the VIM in the deployment method of virtual resources according to any one of the embodiments shown in fig. 2 to fig. 6, and the division and/or the function of each module in the VIM of this embodiment are all for implementing the method flow shown in any one of fig. 2 to fig. 6, and are not described herein again for brevity.
The embodiment of the present invention provides a VIM, which is capable of receiving a first resource deployment request message sent by a management node, determining a request result of the first resource deployment request message according to a reliability parameter carried in the first resource deployment request message, a number of at least one area managed by the VIM, and a number of at least one virtual unit, and sending a resource deployment response message to the management node according to the request result, where the resource deployment response message is used to indicate success or failure of a request of the first resource deployment request message, and the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in one area. Compared with the prior art, the VIM provided by the embodiment of the invention can determine the maximum number of the virtual units which can be deployed in one area according to the reliability parameter, so that the virtual resources are deployed according to the reliability parameter, all the virtual resources possibly deployed in one area by the VIM in the prior art are avoided, and the reliability of resource deployment is improved.
As shown in fig. 12, an embodiment of the present invention provides a management node, where the management node includes: a processor 30, a memory 31, a system bus 32, and a communication interface 33.
The memory 31 is configured to store computer executable instructions, the processor 30 is connected to the memory 31 through the system bus 32, and when the management node runs, the processor 30 executes the computer executable instructions stored in the memory 31, so that the management node executes the deployment method of the virtual resource as described in any one of fig. 2 to fig. 6. For a specific deployment method of virtual resources, reference may be made to the related description in the embodiment shown in any one of fig. 2 to fig. 6, which is not described herein again.
The processor 30 may be a Central Processing Unit (CPU). The processor 30 may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and so on. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The processor 30 may be a dedicated processor that may include at least one of a baseband processing chip, a radio frequency processing chip, and the like. Further, the special purpose processor may also include chips with other special purpose processing functions of the management node.
The memory 31 may include a volatile memory (RAM), such as a random-access memory (RAM); the memory 31 may also include a non-volatile memory (ROM), such as a read-only memory (read-only memory), a flash memory (flash memory), a hard disk (HDD) or a solid-state drive (SSD); the memory 31 may also comprise a combination of memories of the kind described above.
The system bus 32 may include a data bus, a power bus, a control bus, a signal status bus, and the like. For clarity of illustration in this embodiment, the various buses are illustrated in FIG. 12 as system bus 32.
The processor 30 interacts data with other devices, such as a VIM, via the communication interface 33.
In a specific implementation, each step in the method flow shown in any one of fig. 2 to fig. 6 can be implemented by executing computer execution instructions in the form of software stored in the memory 31 by the processor 30 in the form of hardware. To avoid repetition, further description is omitted here.
The management node provided in the embodiment of the present invention can send a first resource deployment request message to a 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 a virtual resource to be deployed, the virtual resource includes at least one virtual unit, the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in a region, and the resource deployment response message is used to indicate success or failure of a request of the first resource deployment request message. Compared with the prior art, the management node carries the reliability parameter in the first resource deployment request message, and the reliability parameter represents the maximum number of the virtual units allowed to be deployed in one area, so that the VIM can be deployed according to the reliability parameter when the VIM deploys the resources according to the first resource deployment request message, thereby avoiding that the VIM in the prior art can deploy all the virtual resources in one area, and improving the reliability of resource deployment.
As shown in fig. 13, an embodiment of the present invention provides a VIM, including: a processor 40, a memory 41, a system bus 42, and a communication interface 43.
The memory 41 is used for storing computer executable instructions, the processor 40 is connected to the memory 41 through the system bus 42, and when the VIM is running, the processor 40 executes the computer executable instructions stored in the memory 41, so that the VIM executes the resource indication method as described in any one of fig. 2 to fig. 6. For a specific resource indication method, reference may be made to the related description in the embodiment shown in any one of fig. 2 to fig. 6, which is not described herein again.
The processor 40 may be a CPU. The processor 40 may also be other general purpose processors, DSPs, ASICs, FPGAs, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The processor 40 may be a dedicated processor that may include at least one of a baseband processing chip, a radio frequency processing chip, and the like. Further, the special purpose processor may also include a chip with other special purpose processing functions of the VIM.
The memory 41 may include volatile memory, such as random access memory RAM; the memory 41 may also include a nonvolatile memory such as a read only memory ROM, a flash memory, an HDD, or an SSD; the memory 41 may also comprise a combination of memories of the kind described above.
The system bus 42 may include a data bus, a power bus, a control bus, a signal status bus, and the like. In this embodiment, the various buses are illustrated in FIG. 13 as system bus 42 for clarity of illustration.
The processor 40 interacts data with other devices, such as management nodes, via the communication interface 43.
In a specific implementation, each step in the method flow shown in any one of fig. 2 to 6 can be implemented by executing computer execution instructions in the form of software stored in the memory 41 by the processor 40 in the form of hardware. To avoid repetition, further description is omitted here.
The embodiment of the present invention provides a VIM, which is capable of receiving a first resource deployment request message sent by a management node, determining a request result of the first resource deployment request message according to a reliability parameter carried in the first resource deployment request message, a number of at least one area managed by the VIM, and a number of at least one virtual unit, and sending a resource deployment response message to the management node according to the request result, where the resource deployment response message is used to indicate success or failure of a request of the first resource deployment request message, and the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in one area. Compared with the prior art, the VIM provided by the embodiment of the invention can determine the maximum number of the virtual units which can be deployed in one area according to the reliability parameter, so that the virtual resources are deployed according to the reliability parameter, all the virtual resources possibly deployed in one area by the VIM in the prior art are avoided, and the reliability of resource deployment is improved.
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 9, and a VIM as shown in fig. 10 or 11; or a management node as shown in fig. 12 and a VIM as shown in fig. 13.
In the communication system provided in the embodiment of the present invention, the management node completes the deployment method of the virtual resource in the embodiment of the present invention by executing corresponding steps in the method flow shown in any one of fig. 2 to fig. 6; accordingly, the VIM completes the deployment method of the virtual resources according to the embodiment of the present invention by performing the corresponding steps in the method flow shown in any one of fig. 2 to fig. 6.
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, and the reliability parameter represents the maximum number of virtual units allowed to be deployed in a region, so that after receiving the first resource deployment request message, the VIM can determine the maximum number of virtual units that can be deployed in a region, and deploy virtual resources according to the reliability parameter, thereby avoiding that the VIM in the prior art may deploy all virtual resources in a region, and improving the reliability of resource deployment.
It will be clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be performed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to perform all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the method according to the embodiments of the present invention. The storage medium is a non-transient (English) medium, comprising: flash memory, removable hard drive, read only memory, random access memory, magnetic or optical disk, and the like.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (26)

1. A method for deploying virtual resources is characterized by comprising the following steps:
a management node sends a first resource deployment request message to a virtual machine infrastructure management node (VIM), wherein the first resource deployment request message is used for requesting the VIM to deploy a to-be-deployed virtual resource, the virtual resource comprises at least one virtual unit, the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, and the reliability parameter is used for representing the maximum number of virtual units allowed to be deployed in a region;
the management node receives a resource deployment response message sent by the VIM, wherein the resource deployment response message is used for indicating the success or failure of the request of the first resource deployment request message;
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 region 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 region and the number of the at least one virtual unit, wherein the changed reliability parameter meets the number of the at least one region;
and the management node sends a second resource deployment request message to the VIM, wherein the second resource deployment request message carries the changed reliability parameters.
2. The method of claim 1,
the expression form of the reliability parameter includes at least one of an absolute parameter, a relative parameter, a proportion, and a grade.
3. The method of claim 2, wherein prior to the management node sending the first resource deployment request message to the VIM, the method further comprises:
and the management node acquires the reliability parameter from a preset descriptor of the virtual resource.
4. The method of claim 3,
the first resource deployment request message is a first resource allocation request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource allocation request message is specifically configured to request the VIM to allocate the virtual resource.
5. The method of claim 3,
the first resource deployment request message is specifically a first resource reservation request message;
the first resource deployment request message is specifically used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource reservation request message is used for requesting the VIM to reserve the virtual resources.
6. The method of claim 3,
the first resource deployment request message is specifically a first resource migration request message;
the first resource deployment request message is specifically used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the first resource migration request message is used for requesting the VIM to migrate the virtual resources to at least one area managed by the VIM.
7. The method according to any one of claims 3 to 6,
the management node is a network function virtualization scheduling node NFVO;
the descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor NSD.
8. The method of claim 4,
the management node is a virtual network function management node (VNFM);
the descriptor is VNFD.
9. The method according to any of claims 1-6, wherein when the management node is a VNFM,
the management node changes the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit, including:
the VNFM sending, to the NFVO, the number of the at least one region and the number of the at least one virtual unit being used for the NFVO to alter the reliability parameter;
the VNFM receives the changed reliability parameter sent by the NFVO, where the changed reliability parameter is determined by the NFVO according to the number of the at least one region and the number of the at least one virtual unit.
10. The method of claim 9, wherein the managing node changes the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit, comprising:
the management node inquires whether a switch item preset in a descriptor is opened or not, wherein the switch item is used for indicating whether the management node is allowed to change the reliability parameter or not;
and if the switch item is started, the management node changes the reliability parameter according to the number of the at least one region and the number of the at least one virtual unit.
11. The method according to any of claims 1-6, wherein 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 changed reliability parameter, and the method further comprises:
the management node determining whether to allow use of the changed reliability parameter;
the management node sends a change response message to the VIM, wherein the change response message is used for indicating whether the changed reliability parameters are allowed to be used or not.
12. The method according to any of claims 1-6, wherein the resource 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 scenario that meets the reliability parameter and is allowed by the VIM, and the method further comprises:
the management node determines a first deployment scenario from the at least one deployment scenario;
and the management node sends a resource deployment indication message to the VIM, wherein the resource deployment indication message carries the first deployment scheme, and the resource deployment indication message is used for indicating the VIM to deploy the virtual resources according to the first deployment scheme.
13. A method for deploying virtual resources is characterized by comprising the following steps:
a virtual machine infrastructure management node (VIM) receives a first resource deployment request message sent by a management node, wherein the first resource deployment request message carries a reliability parameter, the reliability parameter is used for representing the maximum number of virtual units allowed to be deployed in a region, the first resource deployment request message is used for requesting the VIM to deploy virtual resources to be deployed, and the virtual resources comprise at least one virtual unit;
the VIM determines a request result of the first resource deployment request message according to the reliability parameter, the number of the at least one region managed by the VIM and the number of the at least one virtual unit, wherein the request result comprises success or failure of request of the first resource deployment request message;
the VIM sends a resource deployment response message to the management node according to the request result, wherein the resource deployment response message is used for indicating the success or failure of the request of the first resource deployment request message;
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, the resource deployment response message carries the number of the at least one region, and the number of the at least one region is used for the management node to change the reliability parameter, so that the changed reliability parameter meets the number of the regions.
14. The method of claim 13,
the reliability parameter is expressed in a form including at least one of an absolute parameter, a relative parameter, a ratio, and a grade.
15. The method of claim 14,
the first resource deployment request message is specifically a resource reservation request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource reservation request message is used for requesting the VIM to reserve the virtual resources.
16. The method of claim 14,
the first resource deployment request message is specifically a resource allocation request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource allocation request message is used for requesting the VIM to allocate the virtual resource.
17. The method of claim 14,
the first resource deployment request message is specifically a resource migration request message;
the first resource deployment request message is used for requesting the VIM to deploy the virtual resource indicated by the first resource deployment request message, and includes:
the resource migration request message is used for requesting the VIM to migrate the virtual resource to the at least one area.
18. The method according to any one of claims 15 to 17,
the management node is a network function virtualization scheduling node NFVO.
19. The method of claim 15,
the management node is a virtual network function management node (VNFM).
20. The method of any of claims 13-17, wherein determining, by the VIM, the request result for the first resource deployment request message based on the reliability parameter, the number of at least one region managed by the VIM, and the number of the at least one virtual unit comprises:
determining, by the VIM, whether the number of the at least one region satisfies the reliability parameter according to the number of the at least one virtual unit, the number of the at least one region, and the reliability parameter;
if the VIM determines that the number of the at least one region does not satisfy the reliability parameter, the VIM determines that the request of the first resource deployment request message fails;
if the VIM determines that the number of the at least one region meets the reliability parameter, the VIM determines that the request of the first resource deployment request message is successful.
21. The method of claim 20,
if the request of the first resource deployment request message fails, the resource deployment response message is used for indicating that the request of the first resource deployment request message fails,
before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
the VIM changes the reliability parameters according to the number of the at least one region and the number of the at least one virtual unit, wherein the changed reliability parameters meet the number of the at least one region;
the resource deployment response message carries the changed reliability parameter;
after the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
the VIM receives a change response message sent by the management node, wherein the change response message is used for indicating whether the changed reliability parameters are allowed to be used or not;
if the change response message is used for indicating that the changed reliability parameter is allowed to be used, the VIM deploys the virtual resource according to the changed reliability parameter.
22. The method of claim 20,
if the request of the first resource deployment request message is successful, the resource deployment response message is used for indicating that the request of the first resource deployment request message is successful;
before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
the VIM determines at least one deployment scheme which meets the reliability parameters and is allowed by the VIM according to the number of the at least one virtual unit and the at least one region;
the resource deployment response message carries the at least one deployment scheme;
after the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
the VIM receives a resource deployment indication message sent by the management node, wherein the resource deployment indication message carries a first deployment scheme, and the first deployment scheme is determined from the at least one deployment scheme after the management node receives the resource deployment response message;
the VIM deploys the virtual resources on the at least one region according to the first deployment scenario.
23. The method of claim 20, wherein the first resource deployment request message further carries deployment scenario selection rules for the VIM to select a first deployment scenario from at least one deployment scenario;
if the request of the first resource deployment request message is successful, the resource deployment response message is used for indicating that the request of the first resource deployment request message is successful;
before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
the VIM determines at least one deployment scheme which meets the reliability parameters and is allowed by the VIM according to the number of the at least one virtual unit and the at least one region;
said VIM selecting said first deployment scenario from said at least one deployment scenario according to said deployment scenario selection rules;
the VIM deploys the virtual resources on the at least one region according to the first deployment scenario.
24. A management node, comprising: a processor, a memory, a system bus, and a communication interface;
the memory is used for storing computer execution instructions, the processor is connected with the memory through the system bus, and when the management node runs, the processor executes the computer execution instructions stored by the memory, so that the management node executes the deployment method of the virtual resource according to any one of claims 1 to 12.
25. A virtual machine infrastructure management node, VIM, comprising: a processor, a memory, a system bus, and a communication interface;
the memory is used for storing computer-executable instructions, the processor is connected with the memory through the system bus, and when the VIM runs, the processor executes the computer-executable instructions stored by the memory, so that the VIM executes the virtual resource deployment method according to any one of claims 13-23.
26. A communication system, comprising:
a management node according to claim 24 and a virtual machine infrastructure management node, VIM, according to claim 25.
CN201580049748.3A 2015-10-31 2015-10-31 Virtual resource deployment method, device and system Active CN107408058B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/093481 WO2017070963A1 (en) 2015-10-31 2015-10-31 Method, apparatus, and system for deploying virtual resources

Publications (2)

Publication Number Publication Date
CN107408058A CN107408058A (en) 2017-11-28
CN107408058B true CN107408058B (en) 2020-06-02

Family

ID=58630242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201580049748.3A Active CN107408058B (en) 2015-10-31 2015-10-31 Virtual resource deployment method, device and system

Country Status (2)

Country Link
CN (1) CN107408058B (en)
WO (1) WO2017070963A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112748981B (en) * 2019-10-29 2024-03-26 华为技术有限公司 Processing method and device for software mirror 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 ***通信有限公司研究院 Method, device, equipment and storage medium for determining network element deployment information

Citations (4)

* Cited by examiner, † Cited by third party
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

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012155947A1 (en) * 2011-05-13 2012-11-22 Telefonaktiebolaget L M Ericsson (Publ) Allocation of virtual machines in datacenters
US8949655B2 (en) * 2013-01-31 2015-02-03 Alcatel Lucent Preventing extreme coresidency hazards in cloud computing
US9904566B2 (en) * 2013-06-27 2018-02-27 Nec Corporation Selecting virtual machine placement by computing network link utilization and link variance
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
WO2017070963A1 (en) 2017-05-04
CN107408058A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
US10616133B2 (en) Resource configuration method and network device thereof
US20190123963A1 (en) Method and apparatus for managing resources of network slice
JP6834033B2 (en) Network slice management methods, units, and systems
EP3800926B1 (en) Alarm method and device
AU2015419073B2 (en) Life cycle management method and device for network service
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
CN107251486B (en) Method, device and system for expanding linkage
US10924966B2 (en) Management method, management unit, and system
US20190188014A1 (en) Virtual appliances
EP3200393B1 (en) Method and device for virtual network function management
US9465641B2 (en) Selecting cloud computing resource based on fault tolerance and network efficiency
EP3455728A1 (en) Orchestrator for a virtual network platform as a service (vnpaas)
CN112153700A (en) Network slice resource management method and equipment
CN107113193B (en) Method, device and system for determining processing strategy of VNF
US11088924B2 (en) Network management method, device, and system
WO2017185251A1 (en) Vnfm determining method and network function virtualization orchestrator
JP2017143452A (en) Management device, and network service management method
CN108345490B (en) Method and system for deploying virtual machine in NFV
CN107408058B (en) Virtual resource deployment method, device and system
US10637748B2 (en) Method and apparatus for establishing interface between VNFMS, and system
CN107534678B (en) Method, device and system for establishing connection between VNFM and VIM
CN107615872B (en) Method, device and system for releasing connection
WO2016041202A1 (en) Deployment method and apparatus based on cloud environment system
CN112015515A (en) Virtual network function instantiation method and device
CN109257201B (en) License sending method and device

Legal Events

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.