WO2017070963A1 - Method, apparatus, and system for deploying virtual resources - Google Patents

Method, apparatus, and system for deploying virtual resources Download PDF

Info

Publication number
WO2017070963A1
WO2017070963A1 PCT/CN2015/093481 CN2015093481W WO2017070963A1 WO 2017070963 A1 WO2017070963 A1 WO 2017070963A1 CN 2015093481 W CN2015093481 W CN 2015093481W WO 2017070963 A1 WO2017070963 A1 WO 2017070963A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource
vim
deployment
request message
virtual
Prior art date
Application number
PCT/CN2015/093481
Other languages
French (fr)
Chinese (zh)
Inventor
周彦
张凯
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2015/093481 priority Critical patent/WO2017070963A1/en
Priority to CN201580049748.3A priority patent/CN107408058B/en
Publication of WO2017070963A1 publication Critical patent/WO2017070963A1/en

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]

Definitions

  • 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.
  • NFV network function virtualization
  • the virtual machine infrastructure management node is usually configured by a function virtualization scheduling node (English: network function virtualization orchestrator, abbreviated: NFVO) or a virtual network function management node (English: virtualized network function manager, abbreviated as VNFM).
  • NFVO network function virtualization orchestrator
  • VNFM virtualized network function manager
  • VIM virtualized infrastructure manager
  • NFVO or VNFM when instantiating a virtual network function (English: virtualized network function, abbreviated as VNF), NFVO or VNFM sends a resource deployment request message to the VIM, and the VIM is based on the resource deployment request message on the host managed by the VIM ( English: host)
  • the virtual machine English: virtual machine, VM required to form the VNF.
  • the VIM may deploy the five VMs on one host, and when the host fails, As a result, the five VMs cannot be operated. Therefore, the method of deploying the above resources may result in low reliability of virtual resource deployment.
  • Embodiments of the present invention provide a method, an apparatus, and a system for deploying a virtual resource, which can improve reliability of virtual resource deployment.
  • an embodiment of the present invention provides a method for deploying a virtual resource, including:
  • the management node sends a first resource deployment request message to the VIM, where the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, the virtual resource includes at least one virtual unit, and the first resource deployment request
  • the message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in an area;
  • the management node receives the 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.
  • the management node carries the reliability parameter in the first resource deployment request message, where the reliability parameter represents the maximum number of virtual units allowed to be deployed in an area, so that the VIM receives the After the first resource deployment request message, the maximum number of virtual units that can be deployed in an area can be determined, and the virtual resources are deployed according to the reliability parameter, thereby avoiding the fact that the VIM may deploy all the virtual resources in the prior art. On an area, the reliability of resource deployment is improved.
  • the expression form of the reliability parameter includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
  • the method before the management node sends the first resource deployment request message to the VIM, the method further includes:
  • the management node acquires the reliability parameter from a preset descriptor of the virtual resource.
  • the first resource deployment request message is a first resource allocation request message
  • the first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the first resource allocation request message is specifically used to request the VIM to allocate the virtual resource.
  • the first resource deployment request message is specifically a first resource reservation request message
  • the first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the first resource reservation request message is used to request the VIM to reserve the virtual resource.
  • the first resource deployment request message is specifically a first resource migration request message
  • the first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the first resource migration request message is used to request the VIM to migrate the virtual resource to at least one area of the VIM management.
  • 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.
  • the management node is a virtual network function management node VNFM;
  • the descriptor is VNFD.
  • the resource deployment The response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the VIM management to The number of one area is less, and the method further includes:
  • the management node changes the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the modified reliability parameter satisfies the quantity of the at least one area.
  • the management node sends a second resource deployment request message to the VIM, where the second resource deployment request message carries the modified reliability parameter.
  • the management node changes the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit, including:
  • the VNFM sends the number of the at least one area and the number of the at least one virtual unit to the NFVO, the number of the at least one area and the number of the at least one virtual unit are used for the NFVO to change the reliability parameter ;
  • the modified reliability parameter sent by the NFVO is determined by the NFVO according to the number of the at least one area and the quantity of the at least one virtual unit of.
  • the management node is configured according to the quantity of the at least one area The number of at least one virtual unit, changing the reliability parameter, including:
  • the management node queries whether a preset switch item in the descriptor is turned on, and the switch item is used to indicate whether the management node is allowed to change the reliability parameter;
  • the management node changes the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit.
  • the resource The deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the changed reliability parameter, and the method further includes:
  • the management node sends a change response message to the VIM, the change response message being used to indicate whether the modified reliability parameter is allowed to be used.
  • the resource The deployment response message is used to indicate that the request for the first resource deployment request message is successful, and the resource deployment response message carries at least one deployment solution that meets the reliability parameter and is allowed by the VIM, and the method further includes:
  • the management node sends a resource deployment indication message to the VIM, where the resource deployment indication message carries the first deployment scenario, and the resource deployment indication message is used to indicate that the VIM is deployed according to the first deployment solution. Describe virtual resources.
  • the present invention provides a method for deploying a virtual resource, including:
  • the virtual machine infrastructure management node VIM receives the first resource deployment request message sent by the management node, where the first resource deployment request message carries a reliability parameter, and the reliability parameter is used to identify a virtual unit that is allowed to be deployed in an area.
  • the maximum number of the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, where the virtual resource includes at least one virtual unit;
  • the VIM sends a resource deployment response message to the management node according to the request result, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or failed.
  • the virtual resource deployment method provided by the embodiment of the present invention after receiving the first resource deployment request message sent by the management node, the VIM can determine the virtuality that can be deployed in an area according to the reliability parameter carried in the first resource deployment request message. Most of the unit A large number of virtual resource deployments are performed according to the reliability parameter, thereby preventing the VIM in the prior art from deploying all the virtual resources in an area, thereby improving the reliability of resource deployment.
  • the representation of the reliability parameter includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
  • the first resource deployment request message is specifically a resource reservation request message
  • the first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the resource reservation request message is used to request the VIM to reserve the virtual resource.
  • the first resource deployment request message is specifically a resource allocation request message
  • the first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the resource allocation request message is used to request the VIM to allocate the virtual resource.
  • the first resource deployment request message is specifically a resource migration request message
  • the first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the resource migration request message is used to request the VIM to migrate the virtual resource to the at least one area.
  • the management node is a network function virtualization scheduling node NFVO.
  • the management node is a virtual network function management node VNFM.
  • the VIM is configured according to the reliability parameter Determining the number of the at least one area managed by the VIM, and the number of the at least one virtual unit, determining the request result of the first resource deployment request message, including:
  • the VIM determines that the number of the at least one area does not satisfy the reliability parameter, the VIM determines that the request for the first resource deployment request message fails;
  • the VIM determines that the quantity of the at least one area satisfies the reliability parameter, the VIM determines that the request for the first resource deployment request message is successful.
  • the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the quantity of the at least one area.
  • the number of the at least one area is used by the management node to change the reliability parameter such that the changed reliability parameter satisfies the number of the area.
  • the resource deployment response message is used to indicate the first The request for the resource deployment request message failed.
  • the method further includes:
  • the VIM changes the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the modified reliability parameter satisfies the quantity of the at least one area;
  • the resource deployment response message carries the modified reliability parameter
  • the method further includes:
  • the VIM deploys the virtual resource according to the changed reliability parameter.
  • the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful
  • the method further includes:
  • Determining, by the VIM, at least one deployment scenario that satisfies the reliability parameter and the VIM allows, 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 solution
  • the method further includes:
  • the VIM receives the resource deployment indication message sent by the management node, where the resource deployment indication message carries the first deployment plan, where the first deployment scenario is after the management node receives the resource deployment response message. Determining from the at least one deployment scenario;
  • the VIM deploys the virtual resource on the at least one area according to the first deployment scenario.
  • the first resource deployment request message further includes a deployment scenario selection rule, where the deployment scenario selection rule is used by the VIM is selected from the at least one deployment scenario First deployment plan;
  • the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful
  • the method further includes:
  • Determining, by the VIM, at least one deployment scenario that satisfies the reliability parameter and the VIM allows, according to the number of the at least one virtual unit and the at least one region;
  • the VIM selects the first deployment scenario from the at least one deployment scenario according to the deployment scenario selection rule
  • the VIM deploys the virtual resource on the at least one area according to the first deployment scenario.
  • an embodiment of the present invention provides a management node, including:
  • a sending unit configured to send a first resource deployment request message to the virtual machine infrastructure management node VIM, where the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, where the virtual resource includes at least one virtual
  • the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in an area;
  • 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 the request of the first resource deployment request message succeeds or fails.
  • the expression form of the reliability parameter sent by the sending unit includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
  • the management node further includes an acquiring unit
  • the obtaining unit is configured to obtain the reliability parameter from a preset descriptor of the virtual resource.
  • 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 to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the first resource allocation request message is specifically used to request the VIM to allocate the virtual resource.
  • 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 to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the first resource reservation request message is used to request the VIM to reserve the virtual resource.
  • 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 to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the first resource migration request message is used to request the VIM to migrate the virtual resource to at least one area of the VIM management.
  • the management node is NFVO
  • the descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor NSD.
  • the management node is a virtual VNFM
  • the descriptor is VNFD.
  • the receiving unit The received resource deployment response message is used to indicate that the request for the first resource deployment request message fails, the resource deployment response message carries the number of at least one area managed by the VIM, and the management node further includes a change unit. :
  • the modifying unit is configured to change the reliability parameter according to the quantity of the at least one area and the quantity of the at least one virtual unit, and the modified reliability parameter satisfies the quantity of the at least one area.
  • 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 modified reliability parameter.
  • the modifying unit 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, the number of the at least one area and the quantity of the at least one virtual unit are used for the NFVO change
  • the reliability parameter
  • the modifying unit is further configured to receive the modified reliability parameter sent by the NFVO, where the modified reliability parameter is the NFVO according to the quantity of the at least one area and the at least one The number of virtual units is determined.
  • the change unit is specifically configured to query whether a preset switch item in the descriptor is turned on, and the switch item is used to indicate whether the management node is allowed to change the reliability parameter; if the switch item is turned on, The reliability parameter is changed according to the number of the at least one area and the number of the at least one virtual unit.
  • the receiving The resource deployment response message received by the unit is used to indicate that the request for the first resource deployment request message fails, the resource deployment response message carries the changed reliability parameter, and the management unit further includes a determining unit,
  • the determining unit is configured to determine whether the modified 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 the modified reliability parameter is allowed to be used.
  • the receiving The resource deployment response message received by the unit is used to indicate that the request for the first resource deployment request message is successful, and the resource deployment response message carries at least one deployment solution that meets the reliability parameter and is allowed by the VIM.
  • 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 scenario, where the resource deployment indication message is used to indicate that the VIM is according to the first The deployment scenario deploys the virtual resource.
  • an embodiment of the present invention provides a VIM, including:
  • a receiving unit configured to receive a first resource deployment request message sent by the management node, where the first resource deployment request message carries a reliability parameter, where the reliability parameter is used to represent a maximum of virtual units allowed to be deployed in an area.
  • the quantity, the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, where the virtual
  • the proposed resource includes at least one virtual unit;
  • a determining unit configured to determine a request result of the first resource deployment request message according to the reliability parameter received by the receiving unit, the number of at least one area managed by the VIM, and the quantity of the at least one virtual unit
  • the request result includes a success or failure of the request 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 representation form of the reliability parameter received by the receiving unit includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
  • 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 to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the resource reservation request message is used to request the VIM to reserve the virtual resource.
  • 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 to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the resource allocation request message is used to request the VIM to allocate the virtual resource.
  • 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 to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the resource migration request message is used to request the VIM to migrate the virtual resource to the at least one area.
  • the management node is NFVO.
  • the management node is a VNFM.
  • the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the The number of at least one region, the number of the at least one region being used by the management node to change the reliability parameter such that the modified reliability parameter satisfies the number of the regions.
  • the determining unit determines that the request for the first resource deployment request message fails, the resource deployment response message is used The request indicating the first resource deployment request message fails, and the VIM further includes a change unit and a deployment unit,
  • the modifying unit is configured to change the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit, where the modified reliability parameter satisfies the quantity of the at least one area;
  • the resource deployment response message sent by the sending unit carries the modified reliability parameter
  • the receiving unit is further configured to: after the sending unit sends a resource deployment response message to the management node, receive a change response message sent by the management node, where the change response message is used to indicate whether the change is allowed to be used. The reliability parameter afterwards;
  • the deployment unit is configured to: if the change response message received by the receiving unit is used to indicate that the modified reliability parameter is allowed to be used, the VIM is configured according to the modified reliability parameter Deploy the virtual resource.
  • the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful
  • the determining unit is further configured to: after the sending unit sends a resource deployment response message to the management node according to the request result, determine, according to the quantity of the at least one virtual unit and the at least one area, that the Reliability parameters and at least one deployment scenario allowed by the VIM;
  • the resource deployment response message sent by the sending unit carries the at least one deployment solution
  • the receiving unit is further configured to: before the sending unit sends a resource deployment response message to the management node according to the request result, receive the sending by the management node a resource deployment indication message, where the resource deployment indication message carries the first deployment scenario, where the first deployment scenario is after the management node receives the resource deployment response message, from the at least one deployment scenario definite;
  • the VIM also includes a deployment unit,
  • the deployment unit is configured to deploy the virtual resource on the at least one area according to the first deployment scenario.
  • the first resource deployment request message received by the receiving unit further includes a deployment scenario selection rule, where the deployment scenario is Selecting rules for the VIM to select a first deployment scenario from the at least one deployment scenario;
  • the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful
  • the determining unit is further configured to: after the sending unit sends a resource deployment response message to the management node according to the request result, determine, according to the quantity of the at least one virtual unit and the at least one area, that the a reliability parameter and at least one deployment scenario allowed by the VIM, and selecting the first deployment scenario from the at least one deployment scenario according to the deployment scenario selection rule;
  • the VIM also includes a deployment unit,
  • the deployment unit is configured to deploy the virtual resource on the at least one area according to the first deployment scenario.
  • an embodiment 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 execution instruction
  • the processor is connected to the memory through the system bus, and when the management node is running, the processor executes the computer execution instruction stored in the memory to And the method for deploying the virtual resource according to any one of the implementation manners of the first aspect or the first aspect.
  • an embodiment of the present invention provides a VIM, including: a processor and a storage. , system bus and communication interface;
  • the memory is configured to store computer execution instructions
  • the processor is coupled to the memory via the system bus, and when the VIM is running, the processor executes the computer-executed instructions stored by the memory to enable
  • the VIM performs the method for deploying a virtual resource according to any one of the second aspect or the second aspect.
  • a seventh aspect of the present invention provides a communication system, including:
  • the management node can carry the reliability parameter in the first resource deployment request message, and the VIM VIM is represented by the reliability parameter to represent the maximum number of virtual units allowed to be deployed in an area.
  • the maximum number of virtual units that can be deployed in an area can be determined, and the virtual resources are deployed according to the reliability parameter, thereby avoiding the VIM that may be used in the prior art. Resources are deployed on a single area to improve the reliability of resource deployment.
  • FIG. 1 is a block diagram of an NFV system according to an embodiment of the present invention
  • FIG. 2 is an interaction diagram 1 of a method for deploying a virtual resource according to an embodiment of the present invention
  • FIG. 3 is an interaction diagram 2 of a method for deploying a virtual resource according to an embodiment of the present disclosure
  • FIG. 4 is an interaction diagram 3 of a method for deploying a virtual resource according to an embodiment of the present invention.
  • FIG. 5 is an interaction diagram 4 of a method for deploying a virtual resource according to an embodiment of the present invention.
  • FIG. 6 is an interaction diagram 5 of a method for deploying a virtual resource according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram 1 of a management node according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram 2 of a management node according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram 3 of a management node according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram 1 of a VIM according to an embodiment of the present disclosure.
  • FIG. 11 is a schematic structural diagram 2 of a VIM according to an embodiment of the present disclosure.
  • FIG. 12 is a schematic structural diagram of hardware of a management node according to an embodiment of the present disclosure.
  • FIG. 13 is a schematic structural diagram of hardware of a VIM according to an embodiment of the present disclosure.
  • FIG. 14 is a block diagram of a communication system according to an embodiment of the present invention.
  • the NFV system includes: network function virtualization scheduling node (English: network function virtualization orchestrator, abbreviation: NFVO), virtual network function management node (English: virtualized network function manager, VNFM), virtual machine infrastructure management node (English: virtualized Infrastructure manager, abbreviation: VIM), operation support system (English: operations support system, abbreviation: OSS) or business support system (English: business support system, abbreviation: BSS), network element management node (English: element manager, abbreviation: EM), VNF, virtual network functional infrastructure (English: network function virtualization infrastructure, abbreviation: NFVI), network Network service (English: network service, abbreviation: NS) directory, and VNF directory.
  • network function virtualization scheduling node English: network function virtualization orchestrator, abbreviation: NFVO
  • VNFM virtualized network function manager
  • VIM virtual machine infrastructure management node
  • operation support system English: operations support system, abbreviation: OSS
  • BSS business support system
  • NFVO NFV management and orchestration domain
  • NFV-MANO NFV management and orchestration domain
  • NFVO can also be called network function virtualization orchestrator, OSS/BSS. They can all be called network management nodes (English: network manager, abbreviation: NM).
  • the EM performs function configuration, fault management, function usage record, performance statistics, and security management for one or more VNFs.
  • the VNF is a virtualized logical network element, such as SGSN, MME, GGSN, SGW, and PGW in the telecom packet field. Each network element can be deployed independently and presented as a VNF.
  • NFVI provides hardware resources and virtualization resources and management for VNF, as well as virtualized runtime environments.
  • the NFVO is responsible for the lifecycle management of the NS and can orchestrate the resources of the NFVI by instructing the VIM.
  • VNFM is responsible for the lifecycle management of VNF, and each VNF has an associated VNFM.
  • a VNFM may manage one VNF, or it may manage multiple VNFs of the same type or even different types.
  • the NS directory stores the network service descriptor (English: network service descriptor, abbreviated: NSD), which is a template for describing the deployment and maintenance behavior of the NS, including the service topology and the characteristics of the NS.
  • the service topology includes the components of the VNF. Partial and mutual relationship, virtual link (English: virtual links, abbreviated: VL), and VNF forwarding graph (English: VNF forwarding graph, abbreviation: VNFFG), etc., can be read by NFVO.
  • NFVO usually performs virtual resource deployment and maintenance operations on the NS according to the VSD.
  • VNF directory stores VNF descriptors (English: VNF descriptor, abbreviated: VNFD), software images, files, etc., where VNFD is a template describing VNF deployment and maintenance behavior, which can be read by VNFM or NFVO.
  • VNFM or NFVO usually performs virtual resource deployment and maintenance operations on VNF according to VNFD.
  • VIM is responsible for controlling and managing resources in the VNFI infrastructure, including: computing resources, storage resources, network resources, etc., which are usually an operator's infrastructure.
  • the virtual unit is a basic unit in the deployment process of the virtual resource. For example, when instantiating the VNF, multiple VMs constituting the VNF need to be deployed, and each of the multiple VMs is a virtual unit; When the NS is implemented, a plurality of VNFs constituting the NS need to be deployed, and each of the plurality of VNFs is a virtual unit.
  • a zone is a range of areas where reliability is limited during the deployment of virtual resources.
  • an area can refer to a host (English: host), or a cabinet (English: shelve).
  • an area can refer to the scope of a suburb, the scope of a city, etc. Geographical area.
  • the reliability parameter is specifically expressed as the maximum number of virtual units allowed to be deployed in an area during the deployment of the virtual resource. It can be understood that the smaller the number of virtual units allowed to be deployed in one area, the virtual The reliability of the NS or VNF composed of resources is higher.
  • any one of the foregoing NFV systems may be distributed on one physical device or may be distributed on multiple physical devices. Multiple functional nodes in the NFV system may be distributed on different physical devices. It may also be distributed on the same physical device. It can be understood that any functional node in the NFV system may be a logical functional module within the physical device, or may be a logical functional module composed of multiple physical devices.
  • each step in the method provided by the embodiment of the present invention may be performed by an entity device, and the steps in the method provided by the embodiment of the present invention may be performed by multiple physical devices.
  • the invention is not limited.
  • a logical function module ie, a function node in the NFV system.
  • the main body or control object is described.
  • the logical function module depends on the hardware resources on the physical device where it is implemented.
  • the NFV system can be applied to a long term evolution (English: long term evolution, abbreviation: LTE) communication system, and can also be applied to an LTE evolved communication system, such as LTE-A (English full name: long term In the evolution advanced system, it can also be applied to third-generation mobile communication (English: 3rd-Generation, 3G) system such as WCDMA, and the present invention is not limited.
  • LTE long term evolution
  • LTE-A English full name: long term In the evolution advanced system
  • 3G Third-generation mobile communication
  • WCDMA Wideband Code Division Multiple Access
  • the embodiment of the invention provides a method for deploying a virtual resource. As shown in FIG. 2, the method may include:
  • the management node sends a first resource deployment request message to the VIM, where the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed, where the virtual resource includes at least one virtual unit, where the first resource deployment request message is carried.
  • a reliability parameter corresponding to the virtual resource is carried.
  • the reliability parameter is used to characterize the maximum number of virtual units allowed to be deployed in an area.
  • the expression of the reliability parameter may include, but is not limited to, at least one of an absolute parameter, a relative parameter, a ratio, and a level.
  • values such as 1, 2, and 5 can represent absolute parameters.
  • absolute parameter 2 it can be characterized that up to 2 virtual units can be deployed in the same area.
  • a host when instantiating a VNF, a host has the most When deploying two VMs that make up the VNF, when instantiating an NS, a maximum of two VNFs that make up the NS are deployed in a suburban area.
  • the values of 10%, 20%, 30%, etc. can represent relative parameters, and take 20% of the relative parameters as an example to characterize a virtual unit that can deploy up to 20% of the number of virtual units in one area.
  • the values of 1/2, 1/3, 2/5, etc. can represent the scale. Taking the ratio 1/3 as an example, a virtual unit that can deploy up to 1/3 of the number of virtual units in one area can be represented. For example, the number of VNFs that make up an NS is 8. When the NS is instantiated, a maximum of 2 VNFs (8*1/3 integers) are deployed on one host.
  • the reliability may be divided into multiple levels.
  • the reliability may be divided into the highest, the highest, the medium, the low, and the lowest five levels, and the corresponding reliability parameters are 0%, 25%, respectively. 50%, 75%, and 100%.
  • the network maintenance personnel may set corresponding reliability parameters in each descriptor according to the deployment situation of the network pre-plan, 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 may be obtained from the descriptor corresponding to the virtual resource, so that the reliability parameter is carried in the first resource deployment request message and sent to the VIM for sending.
  • the reliability parameter may be set in any module in the VNFD, for example, a deployment description template of the VNF module (English: virtualised development unit, abbreviated: VDU), internal virtual link descriptor (English: internal virtual link descriptor, abbreviation: IVLD) Or IVL descriptor (English: IVL descriptor, abbreviation: IVLD) and so on.
  • VDU virtualised development unit
  • IVLD internal virtual link descriptor
  • IVL descriptor English: IVL descriptor, abbreviation: IVLD
  • the management node may obtain preset reliability parameters from VNFC, VDU, IVL, IVLD, or deployment customization.
  • the reliability parameters can also be set in any module in the NSD, such as VL or VNFFG.
  • the management node may specifically obtain preset reliability parameters from the VL or the VNFFG.
  • the management node may be NFVO or VNFM.
  • the descriptor may be a VNFD or an NSD.
  • the NFVO may deploy the virtual resource to the VNF by acquiring information in the VNFD, or may perform virtual resource deployment on the NS by acquiring information in the NSD. maintain.
  • the descriptor can be VNFD, and VNFM can pass.
  • the information in the VNFD is obtained to deploy and maintain virtual resources of the VNF.
  • the VIM receives a first resource deployment request message sent by the management node.
  • the VIM determines, according to the reliability parameter, the quantity of the at least one area managed by the VIM, and the quantity of the at least one virtual unit, the request result of the first resource deployment request message, where the request result includes the first resource deployment.
  • the request for the message was successful or failed.
  • the request for the first resource deployment request message succeeds that the VIM successfully performs resource deployment according to the reliability parameter carried in the first resource deployment request message.
  • the request for the first resource deployment request message fails, and the VIM cannot perform resource deployment according to the reliability parameter.
  • the foregoing S103 may specifically include:
  • the VIM determines, according to the number of the at least one virtual unit, the number of the at least one area, and the reliability parameter, whether the quantity of the at least one area satisfies the reliability parameter.
  • the VIM determines that the number of the at least one area does not satisfy the reliability parameter, the VIM determines that the request for the first resource deployment request message fails.
  • the VIM determines that the number of the at least one area satisfies the reliability parameter, the VIM determines that the request for the first resource deployment request message is successful.
  • the VIM determines, according to the number of the at least one virtual unit, the quantity of the at least one area, and the reliability parameter, whether the quantity of the at least one area satisfies the reliability parameter.
  • One virtual unit is 8 VMs, and the reliability parameter is 2 as an example for exemplary explanation.
  • At least one area managed by the VIM is three hosts. Since the eight VMs are deployed on three hosts, at least one host needs to deploy more than two VMs, so the reliability parameters are not met. 2, and according to reliability parameter 2, deploying 8 VMs requires at least 4 hosts. Since 3 is less than 4, VIM determines its management. The number of hosts does not meet the reliability parameter, and the VIM determines that the request for the first resource deployment request message fails. That is, the VIM determines that the eight VMs cannot be successfully deployed on three stations according to the reliability parameter.
  • the VIM determines that the number of hosts managed by the VIM satisfies the reliability parameter, and the VIM determines that the request for the first resource deployment request message is successful. That is, the VIM determines that the eight VMs can be successfully deployed on the five hosts according to the reliability parameter.
  • the VIM sends a resource deployment response message to the management node according to the result of the request, where the resource deployment response message is used to indicate that the request of the first resource deployment request message succeeds or fails.
  • the management node receives the resource deployment response message sent by the VIM.
  • 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 resource according to the reliability parameter.
  • the maximum number of virtual units that VIM is allowed to deploy in an area is limited, so that the VIM in the prior art may deploy all the virtual resources in one area, thereby improving the reliability of resource deployment.
  • the management node and the VIM can perform the following two subsequent operations.
  • the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries at least the VIM managed by the VIM.
  • the number of one area, the number of the at least one area is used by the management node to change the reliability parameter, so that the changed reliability parameter satisfies the number of areas managed by the VIM.
  • the method further includes:
  • the management node changes the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit, and the modified reliability parameter satisfies the quantity of the at least one area.
  • the at least one virtual unit includes 8 VMs, and the at least one area includes 3 hosts.
  • the management node determines that the request for the first resource deployment request message fails, and determines that the host managed by the VIM has a total of three hosts, and the management node can determine that 8 hosts can be successfully deployed on the three hosts.
  • the deployment plan of the VM may include "008" and "017", respectively, indicating that eight VMs are deployed on the same host of the three hosts, and one VM is deployed on one of the three hosts. The other seven VMs are deployed on the other of the three hosts.
  • the deployment plan that the management node can determine includes "026", "035", “044", "116", "125”, “134", "224”, and "233".
  • the management node can determine the deployment plan with the fewest virtual units deployed on one area, that is, "233" is the 10 deployment plans.
  • the maximum number of virtual cells deployed in an area is 3, that is, the reliability parameter corresponding to the deployment plan is 3. Therefore, the management node can set the reliability parameters from the original 2 Change to 3.
  • the changed reliability parameter satisfies the number of the at least one region.
  • the management node sends a second resource deployment request message to the VIM, where the second resource deployment request message carries the changed reliability parameter.
  • the management node can be reliable according to the actual physical resource, that is, the number of at least one area managed by the VIM.
  • the parameter is changed and changed to a parameter that satisfies the quantity of the at least one area, and the changed reliability parameter is carried in the second resource deployment request message and sent to the VIM to request the VIM again according to the reliability of the change.
  • the sexual parameters are deployed for the deployed virtual resources.
  • the VIM can successfully deploy the virtual resource on the at least one area according to the changed reliability parameter after the VIM receives the second resource deployment request message.
  • the preset reliability parameter since the preset reliability parameter has adjustability, it can be in the area managed by the VIM.
  • the reliability is changed to ensure that the virtual resources can be successfully deployed in the area, and the reliability of the virtual resource deployment is ensured, thereby improving the flexibility of virtual resource deployment.
  • 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.
  • the representation allows the management node to change the reliability parameter; if the switch item is closed, the representation does not allow the management node to change the reliability parameter.
  • the switch item can be a flag bit. If the flag bit is set to 1, it indicates that the switch item is turned on. If the flag bit is set to 0, the switch item is turned off; or the string off and on can be used to represent The switch item is closed and opened, and the embodiment of the present invention is not limited thereto.
  • the management node may first query whether the preset switch item in the descriptor storing the reliability parameter is turned on, if The switch item is turned on, and the management node can 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 change the reliability parameter. In this case, the management node may notify the network maintenance personnel that the request for the first resource deployment request message fails, and notify the network maintenance personnel of the number of the at least one area.
  • the network maintenance personnel can know that the number of areas managed by the VIM is insufficient, and the network maintenance personnel can increase the deployment of physical resources, so that the physical resources can meet the requirements of deploying the virtual resources to be deployed, thereby enabling the virtual resources to be deployed. Successful deployment according to the required reliability parameters.
  • the resource deployment response message is used to indicate that the request for the first resource deployment request message fails.
  • the method further includes:
  • the VIM is based on the number of the at least one area and the at least one virtual unit.
  • the quantity, the reliability parameter is changed, and the modified reliability parameter satisfies the number of the at least one area.
  • the VIM can modify the reliability parameter by itself to determine a reliability parameter that the number of areas managed by the VIM satisfies.
  • the changed reliability parameter may be carried in the resource deployment response message and sent to the management node to query whether the management node can use the reliability after the change.
  • sexual parameters may be carried in the resource deployment response message and sent to the management node to query whether the management node can use the reliability after the change.
  • the method further includes:
  • the management node determines whether the modified reliability parameter is allowed to be used.
  • the management node may query whether the switch item in the descriptor of the reliability parameter is enabled, and if the switch item is enabled, the management node determines that the modified reliability parameter is allowed to be used; if the switch item is closed, The management node determines that the changed reliability parameters are not allowed.
  • the management node may also prompt the network maintenance personnel to prompt the modified reliability parameter sent by the VIM, and determine whether the modified reliability parameter is allowed according to the instruction of the network maintenance personnel.
  • the manner in which the management node determines whether the modified reliability parameter is allowed to be used may be set more in actual engineering, and the present invention is not limited.
  • the management node sends a change response message to the VIM, where the change response message is used to indicate whether the modified reliability parameter is allowed to be used.
  • the VIM receives the change response message sent by the management node.
  • the VIM deploys the virtual resource according to the changed reliability parameter.
  • the VIM is at least You can deploy virtual resources according to reliability parameters in the following two ways.
  • the method further includes:
  • the VIM determines, according to the quantity of the at least one virtual unit and the at least one area, at least one deployment scheme that satisfies the reliability parameter and is allowed by the VIM.
  • the reliability parameter is 4, 8 VMs and 3 hosts as an example.
  • VIM determines all deployment scenarios for successfully deploying 8 VMs on 3 hosts. All deployment scenarios allowed by the VIM include “044", “134", “224”, and "233".
  • the deployment scenario "233" is the most reliable deployment solution among all the deployment scenarios allowed by the VIM, because the deployment scenario "233" is a deployment scenario in which the deployment of the VM is minimal on one of the deployment scenarios.
  • the VIM After the VIM determines that the reliability parameter is met and all the deployment scenarios are allowed by the VIM, the VIM can carry the at least one deployment scenario of all the deployment scenarios to the management node in the resource deployment response message.
  • the at least one deployment solution may include all deployment scenarios allowed by the VIM, that is, the VIM may carry all the deployment scenarios allowed by the VIM in a resource deployment response message to the management node to request the management node to choose one of all deployment scenarios allowed by the VIM.
  • the at least one deployment solution may include the most reliable deployment solution among all the deployment scenarios allowed by the VIM, that is, the VIM can select the most reliable deployment solution among all the deployment scenarios allowed by the VIM, and then the reliability is the highest.
  • the deployment solution is sent to the management node in the resource deployment response message to query whether the management node can perform resource deployment according to the most reliable deployment scenario.
  • the method further includes:
  • the management node determines the first deployment scenario from the at least one deployment scenario.
  • the management node may obtain the at least one A deployment scenario is randomly selected as the first deployment scenario, and the at least one deployment may also be selected.
  • a deployment solution with the highest reliability in the solution is the first deployment solution, and the present invention is not specifically limited.
  • the management node sends a resource deployment indication message to the VIM, where the resource deployment indication message carries the first deployment solution.
  • the first deployment solution may be sent to the VIM in the resource deployment indication message to indicate that the VIM deploys the virtual resource according to the first deployment scenario.
  • the VIM receives a resource deployment indication message sent by the management node.
  • the VIM deploys the virtual resource on the at least one area according to the first deployment scenario.
  • the VIM can deploy two VMs on one of the three hosts, and the other two hosts respectively deploy three. VM.
  • the method further includes:
  • the VIM determines, according to the quantity of the at least one virtual unit and the at least one area, at least one deployment scheme that satisfies the reliability parameter and is allowed by the VIM.
  • the VIM determines the first deployment scenario from the at least one deployment scenario according to the deployment scenario selection rule.
  • the first resource deployment request message sent by the management node to the VIM further includes a deployment plan selection rule, where the deployment plan selection rule is used by the VIM to determine the first deployment plan from the at least one deployment solution.
  • the deployment scenario selection rule may be to select the most reliable deployment scenario from at least one deployment scenario. For example, as in the example in the embodiment shown in FIG. 4, the deployment scenario "233" is selected.
  • the deployment plan selection rule may also be a deployment plan with the least number of required areas. For example, as shown in the example in the embodiment shown in FIG. 4, the deployment plan "044" is selected, in which only two hosts are needed. According to the requirements of reliability parameter 4, 8 VMs were successfully deployed.
  • the VIM deploys the virtual resource on at least one area according to the first deployment plan. source.
  • the resource deployment response message may be sent to the management node to indicate that the request of the first resource deployment request message of the management node is successful.
  • the virtual resource deployment method provided by the present invention can be applied to various application scenarios, such as instantiation of VNF, instantiation of NS, extension process of VNF, extension of NS, migration of VNF, and NS. Scenarios such as migration, which include the deployment process of virtual resources.
  • the deployment of the virtual resource may be a reservation of a virtual resource, an allocation of a virtual resource, or a migration of a 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 to request the VIM to allocate the virtual resource;
  • the deployment of the virtual resource specifically refers to the reservation of the virtual resource, and the first resource deployment request message is specifically a first resource reservation request message, and the first resource reservation request message is used to request the VIM to reserve the virtual resource;
  • the deployment of the virtual resource specifically refers to the migration of the virtual resource, and the first resource deployment request message is specifically a first resource migration request message, and the first resource migration request message is used to request the VIM to migrate the virtual resource to the VIM management. At least one area.
  • the resource allocation request message may be sent by the VNFM to the VIM, and the VIM is requested to allocate the virtual resource to the VNF. Therefore, when the virtual resource provided by the embodiment of the present invention is used, The deployment method is applied to the VNF instantiation process or the VNF extension process, and the virtual resource deployment specifically refers to the virtual resource allocation, and the management node may be a VNFM.
  • the VNFM may have the function of changing the reliability parameter, so that when the request for the first resource allocation request message fails, the VNFM may change the reliability parameter by itself.
  • the VNFM may also not have the 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.
  • the NFVO receives the request of the VNFM, and before the modification of the reliability parameter, first queries whether the switch item is turned on, and responds to the request of the VNFM when the switch type is turned on. , modify the reliability parameters.
  • the method for deploying the virtual resource may include:
  • the VNFM sends a first resource allocation request message to the VIM, where the first resource allocation request message carries a reliability parameter.
  • the VIM receives the first resource allocation request message sent by the VNFM.
  • the VIM determines, according to the reliability parameter, the number of at least one area managed by the VIM, and the quantity of the at least one virtual unit, that the request for the first resource allocation request message fails.
  • the VIM sends a resource deployment response message to the VNFM, where the resource deployment response message is used to indicate that the request for the first resource allocation request message fails, and the resource deployment response message carries the quantity of the at least one area.
  • the VNFM receives the resource deployment response message sent by the VIM.
  • the VNFM sends the number of the at least one area and the quantity of the at least one virtual unit to the NFVO.
  • the VNFM may send the number of the at least one area and the number of the at least one virtual unit to the NFVO in a message for information transmission between the VNFM and the VNFO.
  • the NFVO changes the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit.
  • the NFVO sends the modified reliability parameter to the VNFM.
  • the VNFM After receiving the changed reliability parameter sent by the NFVO, the VNFM sends a second resource allocation request message to the VIM, where the second resource allocation request message carries the changed reliability parameter.
  • the VIM when the VIM receives the second resource allocation request message, it can follow the change. After the reliability parameters are deployed for virtual resources. It can be understood that, because the modified reliability parameter satisfies the number of areas managed by the VIM, the VIM can successfully deploy the virtual resource according to the modified reliability parameter.
  • the embodiment of the present invention provides a method for deploying a virtual resource, where the management node can carry the reliability parameter in the first resource deployment request message, because the reliability parameter represents the maximum number of virtual units allowed to be deployed in an area, After receiving the first resource deployment request message, the VIM VIM can determine the maximum number of virtual cells that can be deployed in an area, and deploy the virtual resources according to the reliability parameter, thereby avoiding the VIM in the prior art.
  • the virtual resources are deployed in an area to improve the reliability of resource deployment.
  • an embodiment of the present invention provides a management node, where the management node is configured to perform the steps performed by the management node in the above method.
  • the management node may include a module corresponding to the corresponding step.
  • the management node may include:
  • the sending unit 10 is configured to send a first resource deployment request message to the VIM, where the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, where the virtual resource includes at least one virtual unit, where the A 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 an area.
  • the receiving unit 11 is 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 for the first resource deployment request message succeeds or fails.
  • the expression form of the reliability parameter sent by the sending unit 10 includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
  • 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.
  • the first resource deployment request message sent by the sending unit 10 is The first resource allocation request message.
  • the first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the first resource allocation request message is specifically used to request the VIM to allocate the virtual resource.
  • 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 to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the first resource reservation request message is used to request the VIM to reserve the virtual resource.
  • 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 to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the first resource migration request message is used to request the VIM to migrate the virtual resource to at least one area of the VIM management.
  • the management node is NFVO.
  • the descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor NSD.
  • the management node is a virtual VNFM.
  • the descriptor is VNFD.
  • the resource deployment response message received by the receiving unit 11 is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the number of at least one area managed by the VIM. .
  • the management node further includes a modification unit 13.
  • the modifying unit 13 is configured to change the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit, where the modified reliability parameter satisfies the quantity of the at least one area.
  • 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 modified reliability parameter.
  • the modifying unit 13 is specifically configured to send, to the NFVO, the number of the at least one area and the quantity of the at least one virtual unit, the quantity and the quantity of the at least one area The number of the at least one virtual unit is used by the NFVO to change the reliability parameter.
  • the modifying unit 13 is further configured to receive the modified reliability parameter sent by the NFVO, where the modified reliability parameter is that the NFVO is based on the number of the at least one region and the at least The number of virtual units is determined.
  • the changing unit 13 is specifically configured to query whether a preset switch item in the descriptor is enabled, and the switch item is used to indicate whether the management node is allowed to change the reliability parameter;
  • the switch item is turned on, and the reliability parameter is changed according to the number of the at least one area and the number of the at least one virtual unit.
  • the resource deployment response message received by the receiving unit 11 is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the modified reliability parameter.
  • the management unit also includes a determining unit 14.
  • the determining unit 14 is configured to determine whether the modified reliability parameter is allowed 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 the modified reliability parameter is allowed to be used.
  • the resource deployment response message received by the receiving unit 11 is used to indicate that the request for the first resource deployment request message is successful, and the resource deployment response message carries the reliability parameter and the VIM At least one deployment scenario is allowed, the management node further comprising 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.
  • the resource deployment indication message carries the first deployment solution, where the resource deployment indication message is used to instruct the VIM to deploy the virtual resource according to the first deployment scenario.
  • the management node in this embodiment may correspond to the management node in the method for deploying the virtual resource in the foregoing embodiment of any one of FIG. 2 to FIG. 6, and the modules in the management node in the embodiment
  • the division and/or function and the like are all for the implementation of the method flow shown in any one of FIG. 2 to FIG. 6 .
  • no further details are provided herein.
  • the management node provided by the embodiment of the present invention can send a first resource deployment request message to the VIM, and receive a resource deployment response message sent by the VIM, where the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed.
  • the virtual resource includes at least one virtual unit, and the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in an area, the resource
  • the deployment response message is used to indicate that the request for the first resource deployment request message succeeds or fails.
  • the management node carries the reliability parameter in the first resource deployment request message, and since the reliability parameter represents the maximum number of virtual units allowed to be deployed in one area, the VIM is in accordance with the first resource deployment request.
  • the resource can be deployed according to the reliability parameter. This prevents the VIM in the prior art from deploying all the virtual resources in an area. This improves the reliability of resource deployment.
  • 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.
  • the VIM may include:
  • the receiving unit 20 is configured to receive a first resource deployment request message sent by the management node, where the first resource deployment request message carries a reliability parameter, where the reliability parameter is used to represent a virtual unit that is allowed to be deployed in an area.
  • the maximum number of the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed.
  • the virtual resource includes at least one virtual unit.
  • a determining unit 21 configured to determine, according to the reliability parameter received by the receiving unit 20, the number of at least one area managed by the VIM, and the quantity of the at least one virtual unit, determining the first resource deployment request message
  • the result of the request includes the success or failure of the request of the first resource deployment request message.
  • the sending unit 22 is configured to send a resource deployment response message to the management node according to the request result determined by the determining unit 21, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or failed.
  • the representation form of the reliability parameter received by the receiving unit 20 includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
  • 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 to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the resource reservation request message is used to request the VIM to reserve the virtual resource.
  • 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 to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the resource allocation request message is used to request the VIM to allocate the virtual resource.
  • 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 to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
  • the resource migration request message is used to request the VIM to migrate the virtual resource to the at least one area.
  • the management node is NFVO.
  • the management node is a VNFM.
  • the determining unit 21 is specifically configured to use the VIM according to the at least The number of one virtual unit, the number of the at least one area, and the reliability parameter determine whether the number of the at least one area satisfies the reliability parameter.
  • the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response is The message carries the quantity of the at least one area, and the quantity of the at least one area is used by the management node to change the reliability parameter, so that the modified reliability parameter satisfies the quantity of the area.
  • the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful.
  • the determining unit 21 is further configured to determine, according to the quantity of the at least one virtual unit and the at least one area, before the sending unit 22 sends a resource deployment response message to the management node according to the request result, The reliability parameter and the at least one deployment scenario allowed by the VIM.
  • the resource deployment response message sent by the sending unit 22 carries the at least one deployment solution.
  • the receiving unit 20 is further configured to: before the sending unit 22 sends a resource deployment response message to the management node according to the request result, receive a resource deployment indication message sent by the management node, where the resource deployment indication message is sent The first deployment solution is carried out, and the first deployment solution is determined by the management node after receiving the resource deployment response message from the at least one deployment scenario.
  • 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.
  • the first resource deployment request message received by the receiving unit 20 further includes a deployment scenario selection rule, where the deployment scenario selection rule is used by the VIM to select a first deployment from the at least one deployment scenario. Program.
  • the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful.
  • the determining unit 21 is further configured to determine, according to the quantity of the at least one virtual unit and the at least one area, before the sending unit 22 sends a resource deployment response message to the management node according to the request result, And the reliability parameter and the at least one deployment scenario allowed by the VIM, and selecting 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.
  • the determining unit 21 determines that the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the VIM further includes The unit 24 and the deployment unit 23 are changed.
  • the modifying unit 24 is configured to change the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit, where the modified reliability parameter satisfies the quantity of the at least one area.
  • the resource deployment response message sent by the sending unit 22 carries the modified reliability parameter.
  • the receiving unit 20 is further configured to: after the sending unit 22 sends a resource deployment response message to the management node, receive a change response message sent by the management node, where the change response message is used to indicate whether to allow use
  • the modified reliability parameter is described.
  • the deployment unit 23 is configured to: if the change response message received by the receiving unit is used to indicate that the modified reliability parameter is allowed to be used, the VIM is based on the modified reliability The parameter deploys the virtual resource.
  • the VIM of this embodiment may correspond to any of the above-mentioned FIG. 2 to FIG. 6 .
  • the VIM in the method for deploying the virtual resources of the embodiment, and the division and/or function of each module in the VIM of the embodiment are all implemented as shown in any one of FIG. 2 to FIG. 6 .
  • the method flow, for the sake of brevity, will not be described 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, and according to a reliability parameter carried in the first resource deployment request message, the number of at least one area managed by the VIM, and at least one Determining, by the number of the virtual unit, the request result of the first resource deployment request message, and sending a resource deployment response message to the management node according to the result of the request, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or Failure, where the reliability parameter is used to characterize the maximum number of virtual units allowed to be deployed within an area.
  • the VIM provided by the embodiment of the present invention can determine the maximum number of virtual units that can be deployed in an area according to the reliability parameter, thereby deploying the virtual resources according to the reliability parameter, thereby avoiding the existing In the technology, VIM may deploy all virtual resources in one area to improve the reliability of resource deployment.
  • an embodiment of the present invention provides a management node, which includes a processor 30, a memory 31, a system bus 32, and a communication interface 33.
  • the memory 31 is configured to store computer execution instructions
  • the processor 30 is connected to the memory 31 via the system bus 32, and when the management node is running, the processor 30 executes the storage of the memory 31.
  • the computer executes the instructions to cause the management node to perform the deployment method of the virtual resource as described in any one of FIGS. 2 to 6.
  • a specific method for deploying a virtual resource refer to the related description in the foregoing embodiment shown in any one of FIG. 2 to FIG. 6, and details are not described herein again.
  • the processor 30 can be a central processing unit (English: central processing unit, abbreviated as: CPU).
  • the processor 30 can also be other general-purpose processors, digital signal processing (DSP), application specific integrated circuit (ASIC), field programmable gate array (English) : field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, Discrete hardware components, etc.
  • DSP digital signal processing
  • ASIC application specific integrated circuit
  • FPGA field-programmable gate array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the processor 30 may be a dedicated processor, and the dedicated processor may include at least one of a baseband processing chip, a radio frequency processing chip, and the like. Further, the dedicated processor may also include a chip with other dedicated processing functions of the management node.
  • the memory 31 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviation: RAM); the memory 31 may also include a non-volatile memory (English: Non-volatile memory, such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English) : solid-state drive, abbreviated: SSD); the memory 31 may also include a combination of the above types of memories.
  • a volatile memory such as a random access memory (English: random-access memory, abbreviation: RAM)
  • the memory 31 may also include a non-volatile memory (English: Non-volatile memory, such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English)
  • the system bus 32 can include a data bus, a power bus, a control bus, and a signal status bus. For the sake of clarity in the present embodiment, various buses are illustrated as system bus 32 in FIG.
  • the processor 30 performs data interaction with other devices, such as a VIM, through the communication interface 33.
  • each step in the method flow shown in any one of the foregoing FIG. 2 to FIG. 6 can be implemented by the processor 30 in hardware form executing a computer-executed instruction in the form of software stored in the memory 31. To avoid repetition, we will not repeat them here.
  • the management node provided by the embodiment of the present invention can send a first resource deployment request message to the VIM, and receive a resource deployment response message sent by the VIM, where the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed.
  • the virtual resource includes at least one virtual unit, and the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in an area, the resource
  • the deployment response message is used to indicate that the request for the first resource deployment request message succeeds or fails.
  • the management node carries the reliability parameter in the first resource deployment request message, and since the reliability parameter represents the maximum number of virtual units allowed to be deployed in one area, the VIM is based on The first resource deployment request message may be deployed according to the reliability parameter when the resource is deployed. This prevents the VIM from deploying all the virtual resources in an area in the prior art, and improves the reliability of resource deployment.
  • an embodiment of the present invention provides a VIM, which includes a processor 40, a memory 41, a system bus 42, and a communication interface 43.
  • the memory 41 is configured to store computer execution instructions
  • the processor 40 is coupled to the memory 41 via the system bus 42, and the processor 40 executes the memory stored by the memory 41 when the VIM is running
  • the computer executes the instructions to cause the VIM to perform the resource indication method as described in any of Figures 2-6.
  • resource indication method refer to the related description in the foregoing embodiment shown in any one of FIG. 2 to FIG. 6 , and details are not described herein again.
  • the processor 40 can be a CPU.
  • the processor 40 can also be other general purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the processor 40 may be a dedicated processor, which may include at least one of a baseband processing chip, a radio frequency processing chip, and the like. Further, the dedicated processor may also include a chip with other dedicated processing functions of VIM.
  • the memory 41 may include a volatile memory such as a random access memory RAM; the memory 41 may also include a non-volatile memory such as a read only memory ROM, a flash memory, an HDD or an SSD; A combination of memories of the above kind may be included.
  • a volatile memory such as a random access memory RAM
  • the memory 41 may also include a non-volatile memory such as a read only memory ROM, a flash memory, an HDD or an SSD; A combination of memories of the above kind may be included.
  • the system bus 42 can include a data bus, a power bus, a control bus, and a signal status bus. For the sake of clarity in the present embodiment, various buses are illustrated as the system bus 42 in FIG.
  • the processor 40 interacts with other devices, such as management nodes, through the communication interface 43.
  • 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, and according to a reliability parameter carried in the first resource deployment request message, the number of at least one area managed by the VIM, and at least one Determining, by the number of the virtual unit, the request result of the first resource deployment request message, and sending a resource deployment response message to the management node according to the result of the request, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or Failure, where the reliability parameter is used to characterize the maximum number of virtual units allowed to be deployed within an area.
  • the VIM provided by the embodiment of the present invention can determine the maximum number of virtual units that can be deployed in an area according to the reliability parameter, thereby deploying the virtual resources according to the reliability parameter, thereby avoiding the existing In the technology, VIM may deploy all virtual resources in one area to improve the reliability of resource deployment.
  • an embodiment of the present invention provides a communication system, including a management node as shown in any one of FIG. 7 to FIG. 9, and a VIM as shown in FIG. 10 or FIG. 11; The management node shown and the VIM shown in Figure 13.
  • the management node performs the virtual resource deployment method of the embodiment of the present invention by performing corresponding steps in the method flow shown in any one of FIG. 2 to FIG. 6; correspondingly, the VIM is executed.
  • the corresponding steps in the method flow shown in any one of FIG. 2 to FIG. 6 complete the method for deploying the virtual resource in the embodiment of the present invention.
  • the management node can carry the reliability parameter in the first resource deployment request message, and the VIM VIM is represented by the reliability parameter to represent the maximum number of virtual units allowed to be deployed in an area.
  • the maximum number of virtual units that can be deployed in an area can be determined, and the virtual resources are deployed according to the reliability parameter, thereby avoiding the VIM that may be used in the prior art. Resources are deployed on a single area to improve the reliability of resource deployment.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can 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 standalone product, may be stored in a computer readable storage medium.
  • all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, Or a network device or the like) or a processor to perform all or part of the method of the various embodiments of the present invention Step.
  • the storage medium is a non-transitory medium, including: a flash memory, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiments of the present invention provide a method, apparatus, and system for deploying virtual resources, which relate to the technical field of communications and are capable of improving the reliability of virtual resource deployment. The method comprises: 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 quantity of the virtual units which are allowed to be deployed within one area; the management node receives a resource deployment response message sent by the VIM, wherein the resource deployment response message is used for indicating success or failure of the request of the first resource deployment request message. The method is applicable to an NFV system.

Description

一种虚拟资源的部署方法、装置及系统Method, device and system for deploying virtual resources 技术领域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 technique
随着虚拟化技术的飞速发展,在通用的物理设备上,实现网络中专用的网元设备的功能的网络功能虚拟化(英文:network function virtualization,缩写:NFV)系统逐渐受到人们的重视。With the rapid development of virtualization technology, the network function virtualization (English: network function virtualization, NFV) system, which realizes the functions of dedicated network element devices in the network, has gradually received attention.
在NFV系统中,通常由功能虚拟化调度节点(英文:network function virtualization orchestrator,缩写:NFVO),或者虚拟网络功能管理节点(英文:virtualized network function manager,缩写:VNFM)向虚拟机基础设施管理节点(英文:virtualized infrastructure manager,缩写:VIM)发送资源部署请求消息,以请求VIM将待部署的虚拟资源在该VIM所管理的区域上进行部署。例如,在实例化某个虚拟网络功能(英文:virtualized network function,缩写:VNF)时,NFVO或者VNFM会向VIM发送资源部署请求消息,VIM根据该资源部署请求消息在该VIM所管理的主机(英文:host)上部署组成该VNF所需的虚拟机(英文:virtual machine,VM)。In the NFV system, the virtual machine infrastructure management node is usually configured by a function virtualization scheduling node (English: network function virtualization orchestrator, abbreviated: NFVO) or a virtual network function management node (English: virtualized network function manager, abbreviated as VNFM). (English: virtualized infrastructure manager, abbreviation: VIM) sends a resource deployment request message to request VIM to deploy the virtual resources to be deployed on the area managed by the VIM. For example, when instantiating a virtual network function (English: virtualized network function, abbreviated as VNF), NFVO or VNFM sends a resource deployment request message to the VIM, and the VIM is based on the resource deployment request message on the host managed by the VIM ( English: host) The virtual machine (English: virtual machine, VM) required to form the VNF.
然而,通过上述虚拟资源部署的方法,当该VNF的虚拟资源包括多个VM,例如包括5个VM,VIM可能会将该5个VM部署在一台主机上,那么当该主机发生故障时,会导致该5个VM均无法运行,因此,通过上述资源部署的方法会导致虚拟资源部署的可靠性较低。However, in the above method of virtual resource deployment, when the virtual resource of the VNF includes multiple VMs, for example, including five VMs, the VIM may deploy the five VMs on one host, and when the host fails, As a result, the five VMs cannot be operated. Therefore, the method of deploying the above resources may result in low reliability of virtual resource deployment.
发明内容Summary of the invention
本发明的实施例提供一种虚拟资源的部署方法、装置及系统,能够提高虚拟资源部署的可靠性。Embodiments of the present invention provide a method, an apparatus, and a system for deploying a virtual resource, which can improve reliability of virtual resource deployment.
为达到上述目的,本发明的实施例采用如下技术方案: In order to achieve the above object, embodiments of the present invention adopt the following technical solutions:
第一方面,本发明实施例提供一种虚拟资源的部署方法,包括:In a first aspect, an embodiment of the present invention provides a method for deploying a virtual resource, including:
管理节点向VIM发送第一资源部署请求消息,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元,所述第一资源部署请求消息中携带与所述虚拟资源对应的可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量;The management node sends a first resource deployment request message to the VIM, where the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, the virtual resource includes at least one virtual unit, and the first resource deployment request The message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in an area;
所述管理节点接收所述VIM发送的资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。The management node receives the 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.
本发明实施例提供的虚拟资源部署方法,管理节点通过在第一资源部署请求消息携带可靠性参数,该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,从而使得VIM接收到第一资源部署请求消息后,可以确定在一个区域内能够部署的虚拟单元的最大数量,并按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。In the virtual resource deployment method provided by the embodiment of the present invention, the management node carries the reliability parameter in the first resource deployment request message, where the reliability parameter represents the maximum number of virtual units allowed to be deployed in an area, so that the VIM receives the After the first resource deployment request message, the maximum number of virtual units that can be deployed in an area can be determined, and the virtual resources are deployed according to the reliability parameter, thereby avoiding the fact that the VIM may deploy all the virtual resources in the prior art. On an area, the reliability of resource deployment is improved.
在第一方面的第一种可能的实现方式中,In a first possible implementation of the first aspect,
所述可靠性参数的表达形式包括绝对参数、相对参数、比例,以及等级中的至少一种。The expression form of the reliability parameter includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
结合第一方面或第一方面的第一种可能的实现方式,在第二种可能的实现方式中,所述管理节点向VIM发送第一资源部署请求消息之前,所述方法还包括:With the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, before the management node sends the first resource deployment request message to the VIM, the method further includes:
所述管理节点从所述虚拟资源的预设描述符中获取所述可靠性参数。The management node acquires the reliability parameter from a preset descriptor of the virtual resource.
结合第一方面的第二种可能的实现方式,在第三种可能的实现方式中,In conjunction with the second possible implementation of the first aspect, in a third possible implementation,
所述第一资源部署请求消息为第一资源分配请求消息;The first resource deployment request message is a first resource allocation request message;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括: The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源分配请求消息具体用于请求所述VIM分配所述虚拟资源。The first resource allocation request message is specifically used to request the VIM to allocate the virtual resource.
结合第一方面的第二种可能的实现方式,在第四种可能的实现方式中,In conjunction with the second possible implementation of the first aspect, in a fourth possible implementation,
所述第一资源部署请求消息具体为第一资源预留请求消息;The first resource deployment request message is specifically a first resource reservation request message;
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源预留请求消息用于请求所述VIM预留所述虚拟资源。The first resource reservation request message is used to request the VIM to reserve the virtual resource.
结合第一方面的第二种可能的实现方式,在第五种可能的实现方式中,In conjunction with the second possible implementation of the first aspect, in a fifth possible implementation,
所述第一资源部署请求消息具体为第一资源迁移请求消息;The first resource deployment request message is specifically a first resource migration request message;
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述VIM管理的至少一个区域。The first resource migration request message is used to request the VIM to migrate the virtual resource to at least one area of the VIM management.
结合第一方面的第二种可能的实现方式至第一方面的第五种可能的实现方式中的任一种实现方式,在第六种可能的实现方式中,With reference to the second possible implementation of the first aspect, to any one of the fifth possible implementation manners of the first aspect, in a sixth possible implementation manner,
所述管理节点为网络功能虚拟化调度节点NFVO;The management node is a network function virtualization scheduling node NFVO;
所述描述符为虚拟网络功能描述符VNFD,或者所述描述符为网络服务描述符为NSD。The descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor NSD.
结合第一方面的第三种可能的实现方式,在第七种可能的实现方式中,In conjunction with the third possible implementation of the first aspect, in a seventh possible implementation,
所述管理节点为虚拟网络功能管理节点VNFM;The management node is a virtual network function management node VNFM;
所述描述符为VNFD。The descriptor is VNFD.
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第七种可能的实现方式中的任一种实现方式,在第八种可能的实现方式中,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述VIM管理的至 少一个区域的数量,所述方法还包括:With reference to the first aspect, or the first possible implementation of the first aspect, to any one of the seventh possible implementation manners of the first aspect, in the eighth possible implementation, the resource deployment The response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the VIM management to The number of one area is less, and the method further includes:
所述管理节点根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量。The management node changes the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the modified reliability parameter satisfies the quantity of the at least one area.
所述管理节点向所述VIM发送第二资源部署请求消息,所述第二资源部署请求消息中携带所述更改后的所述可靠性参数。The management node sends a second resource deployment request message to the VIM, where the second resource deployment request message carries the modified reliability parameter.
结合第一方面的第八种可能的实现方式,在第九种可能的实现方式中,当所述管理节点为VNFM时,In conjunction with the eighth possible implementation of the first aspect, in the 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 area and the quantity of the at least one virtual unit, including:
所述VNFM向NFVO发送所述至少一个区域的数量和所述至少一个虚拟单元的数量,所述至少一个区域的数量和所述至少一个虚拟单元的数量用于所述NFVO更改所述可靠性参数;The VNFM sends the number of the at least one area and the number of the at least one virtual unit to the NFVO, the number of the at least one area and the number of the at least one virtual unit are used for the NFVO to change the reliability parameter ;
所述VNFM接收所述NFVO发送的更改后的所述可靠性参数,所述更改后的所述可靠性参数为所述NFVO根据所述至少一个区域的数量和所述至少一个虚拟单元的数量确定的。Receiving, by the VNFM, the modified reliability parameter sent by the NFVO, the modified reliability parameter is determined by the NFVO according to the number of the at least one area and the quantity of the at least one virtual unit of.
结合第一方面的第八种可能的实现方式或第一方面的第九种可能的实现方式,在第十种可能的实现方式中,所述管理节点根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,包括:With reference to the eighth possible implementation of the first aspect, or the ninth possible implementation manner of the first aspect, in the tenth possible implementation manner, the management node is configured according to the quantity of the at least one area The number of at least one virtual unit, changing the reliability parameter, including:
所述管理节点查询所述描述符中预设的开关项是否开启,所述开关项用于指示是否允许所述管理节点更改所述可靠性参数;The management node queries whether a preset switch item in the descriptor is turned on, and the switch item is used to indicate whether the management node is allowed to change the reliability parameter;
若所述开关项开启,所述管理节点则根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数。And if the switch item is turned on, the management node changes the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit.
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第七种可能的实现方式中的任一种实现方式,在第十一种可能的实现方式中,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带更改后的所述可靠性参数,所述方法还包括: With reference to the first aspect, or the first possible implementation of the first aspect, to any one of the seventh possible implementation manners of the first aspect, in the eleventh possible implementation, the resource The deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the changed reliability parameter, and the method further includes:
所述管理节点确定是否允许使用所述更改后的所述可靠性参数;Determining, by the management node, whether the modified reliability parameter is allowed to be used;
所述管理节点向所述VIM发送更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数。The management node sends a change response message to the VIM, the change response message being used to indicate whether the modified reliability parameter is allowed to be used.
结合第一方面或第一方面的第一种可能的实现方式至第一方面的第七种可能的实现方式中的任一种实现方式,在第十二种可能的实现方式中,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功,所述资源部署应答消息中携带满足所述可靠性参数且所述VIM允许的至少一种部署方案,所述方法还包括:With reference to the first aspect, or the first possible implementation of the first aspect, to any one of the seventh possible implementations of the first aspect, in the twelfth possible implementation, the resource The deployment response message is used to indicate that the request for the first resource deployment request message is successful, and the resource deployment response message carries at least one deployment solution that meets the reliability parameter and is allowed by the VIM, and the method further includes:
所述管理节点从所述至少一种部署方案中确定第一部署方案;Determining, by the management node, a first deployment scenario from the at least one deployment scenario;
所述管理节点向所述VIM发送资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述资源部署指示消息用于指示所述VIM根据所述第一部署方案部署所述虚拟资源。The management node sends a resource deployment indication message to the VIM, where the resource deployment indication message carries the first deployment scenario, and the resource deployment indication message is used to indicate that the VIM is deployed according to the first deployment solution. Describe virtual resources.
第二方面,本发明实例提供一种虚拟资源的部署方法,包括:In a second aspect, the present invention provides a method for deploying a virtual resource, including:
虚拟机基础设施管理节点VIM接收管理节点发送的第一资源部署请求消息,所述第一资源部署请求消息中携带可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元;The virtual machine infrastructure management node VIM receives the first resource deployment request message sent by the management node, where the first resource deployment request message carries a reliability parameter, and the reliability parameter is used to identify a virtual unit that is allowed to be deployed in an area. The maximum number of the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, where the virtual resource includes at least one virtual unit;
所述VIM根据所述可靠性参数,所述VIM所管理的至少一个区域的数量,以及所述至少一个虚拟单元的数量,确定所述第一资源部署请求消息的请求结果,所述请求结果包括所述第一资源部署请求消息的请求成功或者失败;Determining, by the VIM, a request result of the first resource deployment request message according to the reliability parameter, a quantity of at least one area managed by the VIM, and a quantity of the at least one virtual unit, where the request result includes The request for the first resource deployment request message succeeds or fails;
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。And the VIM sends a resource deployment response message to the management node according to the request result, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or failed.
本发明实施例提供的虚拟资源部署方法,VIM接收到管理节点发送的第一资源部署请求消息后,能够根据第一资源部署请求消息中携带的可靠性参数,确定在一个区域内能够部署的虚拟单元的最 大数量,从而按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。The virtual resource deployment method provided by the embodiment of the present invention, after receiving the first resource deployment request message sent by the management node, the VIM can determine the virtuality that can be deployed in an area according to the reliability parameter carried in the first resource deployment request message. Most of the unit A large number of virtual resource deployments are performed according to the reliability parameter, thereby preventing the VIM in the prior art from deploying all the virtual resources in an area, thereby improving the reliability of resource deployment.
在第二方面的第一种可能的实现方式中,In a first possible implementation of the second aspect,
所述可靠性参数的表现形式包括绝对参数、相对参数、比例,以及等级中的至少一种。The representation of the reliability parameter includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
结合第二方面或第二方面的第一种可能的实现方式,在第三种可能的实现方式中,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;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源预留请求消息用于请求所述VIM预留所述虚拟资源。The resource reservation request message is used to request the VIM to reserve the virtual resource.
结合第二方面或第二方面的第一种可能的实现方式,在第四种可能的实现方式中,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;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源分配请求消息用于请求所述VIM分配所述虚拟资源。The resource allocation request message is used to request the VIM to allocate the virtual resource.
结合第二方面或第二方面的第一种可能的实现方式,在第五种可能的实现方式中,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;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述至少一个区域上。The resource migration request message is used to request the VIM to migrate the virtual resource to the at least one area.
结合第二方面第三种可能的实现方式至第二方面的第五种可能的实现方式中的任一种实现方式,在第六种可能的实现方式中,With reference to the third possible implementation of the second aspect, to any one of the fifth possible implementation manners of the second aspect, in a sixth possible implementation manner,
所述管理节点为网络功能虚拟化调度节点NFVO。The management node is a network function virtualization scheduling node NFVO.
结合第二方面的第三种可能的实现方式,在第七种可能的实现 方式中,Combined with the third possible implementation of the second aspect, in the seventh possible implementation In the way,
所述管理节点为虚拟网络功能管理节点VNFM。The management node is a virtual network function management node VNFM.
结合第二方面或第二方面的第一种可能的实现方式至第二方面的第七种可能的实现方式,在第八种可能的实现方式中,所述VIM根据所述可靠性参数,所述VIM所管理的至少一个区域的数量,以及所述至少一个虚拟单元的数量,确定所述第一资源部署请求消息的请求结果,包括:With reference to the second aspect or the first possible implementation of the second aspect to the seventh possible implementation of the second aspect, in an eighth possible implementation, the VIM is configured according to the reliability parameter Determining the number of the at least one area managed by the VIM, and the number of the at least one virtual unit, determining the request result of the first resource deployment request message, including:
所述VIM根据所述至少一个虚拟单元的数量、所述至少一个区域的数量,以及所述可靠性参数,确定所述至少一个区域的数量是否满足所述可靠性参数;Determining, by the VIM, whether the quantity of the at least one area satisfies the reliability parameter according to the number of the at least one virtual unit, the quantity of the at least one area, and the reliability parameter;
若所述VIM确定所述至少一个区域的数量不满足所述可靠性参数,所述VIM则确定所述第一资源部署请求消息的请求失败;If the VIM determines that the number of the at least one area does not satisfy the reliability parameter, the VIM determines that the request for the first resource deployment request message fails;
若所述VIM确定所述至少一个区域的数量满足所述可靠性参数,所述VIM则确定所述第一资源部署请求消息的请求成功。And if the VIM determines that the quantity of the at least one area satisfies the reliability parameter, the VIM determines that the request for the first resource deployment request message is successful.
结合第二方面的第八种可能的实现方式,在第九种可能的实现方式中,In conjunction with the eighth possible implementation of the second aspect, in a ninth possible implementation manner,
若所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述至少一个区域的数量,所述至少一个区域的数量用于所述管理节点更改所述可靠性参数,以使得所述更改后的所述可靠性参数满足所述区域的数量。If the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the quantity of the at least one area. And the number of the at least one area is used by the management node to change the reliability parameter such that the changed reliability parameter satisfies the number of the area.
结合第二方面的第八种可能的实现方式,在第十种可能的实现方式中,若所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,With the eighth possible implementation of the second aspect, in a tenth possible implementation, if the request for the first resource deployment request message fails, the resource deployment response message is used to indicate the first The request for the resource deployment request message failed.
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之前,所述方法还包括:Before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
所述VIM根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量; The VIM changes the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the modified reliability parameter satisfies the quantity of the at least one area;
所述资源部署应答消息中携带所述更改后的所述可靠性参数;The resource deployment response message carries the modified reliability parameter;
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之后,所述方法还包括:After the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
所述VIM接收所述管理节点发送的更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数;Receiving, by the VIM, a change response message sent by the management node, where the change response message is used to indicate whether the modified reliability parameter is allowed to be used;
若所述更改响应消息用于指示允许使用所述更改后的所述可靠性参数,所述VIM则根据所述更改后的所述可靠性参数部署所述虚拟资源。And if the change response message is used to indicate that the modified reliability parameter is allowed to be used, the VIM deploys the virtual resource according to the changed reliability parameter.
结合第二方面的第八种可能的实现方式,在第十一种可能的实现方式中,In conjunction with the eighth possible implementation of the second aspect, in an eleventh possible implementation manner,
若所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功;If the request for the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful;
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之前,所述方法还包括:Before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
所述VIM根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案;Determining, by the VIM, at least one deployment scenario that satisfies the reliability parameter and the VIM allows, 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 solution;
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之后,所述方法还包括:After the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
所述VIM接收所述管理节点发送的资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述第一部署方案为所述管理节点接收到所述资源部署应答消息后,从所述至少一种部署方案中确定的;The VIM receives the resource deployment indication message sent by the management node, where the resource deployment indication message carries the first deployment plan, where the first deployment scenario is after the management node receives the resource deployment response message. Determining from the at least one deployment scenario;
所述VIM根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The VIM deploys the virtual resource on the at least one area according to the first deployment scenario.
结合第二方面的第八种可能的实现方式,在第十二种可能的实现方式中,所述第一资源部署请求消息中还携带部署方案选择规则,所述部署方案选择规则用于所述VIM从所述至少一种部署方案选择 第一部署方案;With the eighth possible implementation of the second aspect, in a twelfth possible implementation, the first resource deployment request message further includes a deployment scenario selection rule, where the deployment scenario selection rule is used by the VIM is selected from the at least one deployment scenario First deployment plan;
若所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功;If the request for the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful;
所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之前,所述方法还包括:Before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
所述VIM根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案;Determining, by the VIM, at least one deployment scenario that satisfies the reliability parameter and the VIM allows, according to the number of the at least one virtual unit and the at least one region;
所述VIM根据所述部署方案选择规则从所述至少一种部署方案选择所述第一部署方案;The VIM selects the first deployment scenario from the at least one deployment scenario according to the deployment scenario selection rule;
所述VIM根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The VIM deploys the virtual resource on the at least one area according to the first deployment scenario.
第三方面,本发明实施例提供一种管理节点,包括:In a third aspect, an embodiment of the present invention provides a management node, including:
发送单元,用于向虚拟机基础设施管理节点VIM发送第一资源部署请求消息,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元,所述第一资源部署请求消息中携带与所述虚拟资源对应的可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量;a sending unit, configured to send a first resource deployment request message to the virtual machine infrastructure management node VIM, where the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, where the virtual resource includes at least one virtual And the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in an area;
接收单元,用于管理节点接收所述VIM发送的资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。And 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 the request of the first resource deployment request message succeeds or fails.
本发明实施例提供的管理节点的技术效果可以参见上述第一方面管理节点执行的虚拟资源的部署方法中描述的管理节点的技术效果,此处不再赘述。For the technical effects of the management node provided by the embodiment of the present invention, refer to the technical effects of the management node described in the method for deploying the virtual resource that is performed by the management node in the foregoing aspect, and details are not described herein again.
在第三方面的第一种可能的实现方式中,In a first possible implementation of the third aspect,
所述发送单元发送的所述可靠性参数的表达形式包括绝对参数、相对参数、比例,以及等级中的至少一种。The expression form of the reliability parameter sent by the sending unit includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
结合第三方面或第三方面的第一种可能的实现方式,在第二种 可能的实现方式中,所述管理节点还包括获取单元,In combination with the third aspect or the first possible implementation of the third aspect, in the second In a possible implementation, the management node further includes an acquiring unit,
所述获取单元,用于从所述虚拟资源的预设描述符中获取所述可靠性参数。The obtaining unit is configured to obtain the reliability parameter from a preset descriptor of the virtual resource.
结合第三方面的第二种可能的实现方式,在第三种可能的实现方式中,In conjunction with the second possible implementation 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;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源分配请求消息具体用于请求所述VIM分配所述虚拟资源。The first resource allocation request message is specifically used to request the VIM to allocate the virtual resource.
结合第三方面的第二种可能的实现方式,在第四种可能的实现方式中,In conjunction with the second possible implementation of the third aspect, in a fourth possible implementation,
所述发送单元发送的所述第一资源部署请求消息具体为第一资源预留请求消息;The first resource deployment request message sent by the sending unit is specifically a first resource reservation request message;
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源预留请求消息用于请求所述VIM预留所述虚拟资源。The first resource reservation request message is used to request the VIM to reserve the virtual resource.
结合第三方面的第二种可能的实现方式,在第五种可能的实现方式中,In conjunction with the second possible implementation 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;
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述VIM管理的至少一个区域。The first resource migration request message is used to request the VIM to migrate the virtual resource to at least one area of the VIM management.
结合第三方面的第二种可能的实现方式至第三方面的第五种可能的实现方式中的任一种实现方式,在第六种可能的实现方式中, With reference to the second possible implementation of the third aspect, to any one of the fifth possible implementation manners of the third aspect, in a sixth possible implementation manner,
所述管理节点为NFVO;The management node is NFVO;
所述描述符为虚拟网络功能描述符VNFD,或者所述描述符为网络服务描述符为NSD。The descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor NSD.
结合第三方面的第三种可能的实现方式,在第七种可能的实现方式中,In conjunction with the third possible implementation of the third aspect, in a seventh possible implementation,
所述管理节点为虚拟VNFM;The management node is a virtual VNFM;
所述描述符为VNFD。The descriptor is VNFD.
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第七种可能的实现方式中的任一种实现方式,在第八种可能的实现方式中,所述接收单元接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述VIM管理的至少一个区域的数量,所述管理节点还包括更改单元:With reference to the third aspect, or the first possible implementation manner of the third aspect, to any one of the seventh possible implementation manners of the third aspect, in the eighth possible implementation manner, the receiving unit The received resource deployment response message is used to indicate that the request for the first resource deployment request message fails, the resource deployment response message carries the number of at least one area managed by the VIM, and the management node further includes a change unit. :
所述更改单元,用于根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量。The modifying unit is configured to change the reliability parameter according to the quantity of the at least one area and the quantity of the at least one virtual unit, and the modified reliability parameter satisfies the quantity of the at least one area.
所述发送单元,还用于向所述VIM发送第二资源部署请求消息,所述第二资源部署请求消息中携带所述更改后的所述可靠性参数。The sending unit is further configured to send a second resource deployment request message to the VIM, where the second resource deployment request message carries the modified reliability parameter.
结合第三方面的第八种可能的实现方式,在第九种可能的实现方式中,当所述管理节点为VNFM时,With reference to the eighth possible implementation manner of the third aspect, in the ninth possible implementation manner, when the management node is a VNFM,
所述更改单元,具体用于向NFVO发送所述至少一个区域的数量和所述至少一个虚拟单元的数量,所述至少一个区域的数量和所述至少一个虚拟单元的数量用于所述NFVO更改所述可靠性参数;The modifying unit 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, the number of the at least one area and the quantity of the at least one virtual unit are used for the NFVO change The reliability parameter;
所述更改单元,还用于接收所述NFVO发送的更改后的所述可靠性参数,所述更改后的所述可靠性参数为所述NFVO根据所述至少一个区域的数量和所述至少一个虚拟单元的数量确定的。The modifying unit is further configured to receive the modified reliability parameter sent by the NFVO, where the modified reliability parameter is the NFVO according to the quantity of the at least one area and the at least one The number of virtual units is determined.
结合第三方面的第八种可能的实现方式或第三方面的第九种可能的实现方式,在第十种可能的实现方式中, With the eighth possible implementation of the third aspect or the ninth possible implementation of the third aspect, in a tenth possible implementation manner,
所述更改单元,具体用于查询所述描述符中预设的开关项是否开启,所述开关项用于指示是否允许所述管理节点更改所述可靠性参数;若所述开关项开启,则根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数。The change unit is specifically configured to query whether a preset switch item in the descriptor is turned on, and the switch item is used to indicate whether the management node is allowed to change the reliability parameter; if the switch item is turned on, The reliability parameter is changed according to the number of the at least one area and the number of the at least one virtual unit.
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第七种可能的实现方式中的任一种实现方式,在第十一种可能的实现方式中,所述接收单元接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带更改后的所述可靠性参数,所述管理单元还包括确定单元,With reference to the third aspect, or the first possible implementation manner of the third aspect, to any one of the seventh possible implementation manners of the third aspect, in the eleventh possible implementation manner, the receiving The resource deployment response message received by the unit is used to indicate that the request for the first resource deployment request message fails, the resource deployment response message carries the changed reliability parameter, and the management unit further includes a determining unit,
所述确定单元,用于确定是否允许使用所述更改后的所述可靠性参数;The determining unit is configured to determine whether the modified reliability parameter is allowed to be used;
所述发送单元,还用于向所述VIM发送更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数。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 the modified reliability parameter is allowed to be used.
结合第三方面或第三方面的第一种可能的实现方式至第三方面的第七种可能的实现方式中的任一种实现方式,在第十一种可能的实现方式中,所述接收单元接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功,所述资源部署应答消息中携带满足所述可靠性参数且所述VIM允许的至少一种部署方案,所述管理节点还包括确定单元:With reference to the third aspect, or the first possible implementation manner of the third aspect, to any one of the seventh possible implementation manners of the third aspect, in the eleventh possible implementation manner, the receiving The resource deployment response message received by the unit is used to indicate that the request for the first resource deployment request message is successful, and the resource deployment response message carries at least one deployment solution that meets the reliability parameter and is allowed by the VIM. 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;
所述发送单元,还用于向所述VIM发送资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述资源部署指示消息用于指示所述VIM根据所述第一部署方案部署所述虚拟资源。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 scenario, where the resource deployment indication message is used to indicate that the VIM is according to the first The deployment scenario deploys the virtual resource.
第四方面,本发明实例提供一种VIM,包括:In a fourth aspect, an embodiment of the present invention provides a VIM, including:
接收单元,用于接收管理节点发送的第一资源部署请求消息,所述第一资源部署请求消息中携带可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚 拟资源包括至少一个虚拟单元;a receiving unit, configured to receive a first resource deployment request message sent by the management node, where the first resource deployment request message carries a reliability parameter, where the reliability parameter is used to represent a maximum of virtual units allowed to be deployed in an area. The quantity, the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, where the virtual The proposed resource includes at least one virtual unit;
确定单元,用于根据接收单元接收的所述可靠性参数,所述VIM所管理的至少一个区域的数量,以及所述至少一个虚拟单元的数量,确定所述第一资源部署请求消息的请求结果,所述请求结果包括所述第一资源部署请求消息的请求成功或者失败;a determining unit, configured to determine a request result of the first resource deployment request message according to the reliability parameter received by the receiving unit, the number of at least one area managed by the VIM, and the quantity of the at least one virtual unit The request result includes a success or failure of the request of the first resource deployment request message;
发送单元,用于根据确定单元确定的所述请求结果向所述管理节点发送资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。And 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.
本发明实施例提供的VIM的技术效果可以参见上述第二方面VIM执行的虚拟资源的部署方法中描述的管理节点的技术效果,此处不再赘述。For the technical effects of the VIM provided by the embodiment of the present invention, refer to the technical effects of the management node described in the method for deploying the virtual resource executed by the VIM in the foregoing second aspect, and details are not described herein again.
在第四方面的第一种可能的实现方式中,In a first possible implementation of the fourth aspect,
所述接收单元接收的所述可靠性参数的表现形式包括绝对参数、相对参数、比例,以及等级中的至少一种。The representation form of the reliability parameter received by the receiving unit includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
结合第四方面或第二方面的第一种可能的实现方式,在第三种可能的实现方式中,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;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源预留请求消息用于请求所述VIM预留所述虚拟资源。The resource reservation request message is used to request the VIM to reserve the virtual resource.
结合第四方面或第四方面的第一种可能的实现方式,在第四种可能的实现方式中,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;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源分配请求消息用于请求所述VIM分配所述虚拟资源。The resource allocation request message is used to request the VIM to allocate the virtual resource.
结合第四方面或第四方面的第一种可能的实现方式,在第五种 可能的实现方式中,In combination with the fourth aspect or the first possible implementation of the fourth aspect, in the fifth Possible implementations,
所述接收单元接收的所述第一资源部署请求消息具体为资源迁移请求消息;The first resource deployment request message received by the receiving unit is specifically a resource migration request message;
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述至少一个区域上。The resource migration request message is used to request the VIM to migrate the virtual resource to the at least one area.
结合第四方面第三种可能的实现方式至第四方面的第五种可能的实现方式中的任一种实现方式,在第六种可能的实现方式中,With reference to the third possible implementation manner of the fourth aspect, to any one of the fifth possible implementation manners of the fourth aspect, in a sixth possible implementation manner,
所述管理节点为NFVO。The management node is NFVO.
结合第四方面的第三种可能的实现方式,在第七种可能的实现方式中,In conjunction with the third possible implementation of the fourth aspect, in a seventh possible implementation,
所述管理节点为VNFM。The management node is a VNFM.
结合第四方面或第四方面的第一种可能的实现方式至第四方面的第七种可能的实现方式,在第八种可能的实现方式中,With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, to the seventh possible implementation manner of the fourth aspect, in an eighth possible implementation manner,
所述确定单元,具体用于所述VIM根据所述至少一个虚拟单元的数量、所述至少一个区域的数量,以及所述可靠性参数,确定所述至少一个区域的数量是否满足所述可靠性参数;Determining, by the VIM, determining, according to the quantity of the at least one virtual unit, the quantity of the at least one area, and the reliability parameter, whether the quantity of the at least one area satisfies the reliability parameter;
若确定所述至少一个区域的数量不满足所述可靠性参数,则确定所述第一资源部署请求消息的请求失败;If it is determined that the quantity of the at least one area does not satisfy the reliability parameter, determining that the request for the first resource deployment request message fails;
若确定所述至少一个区域的数量满足所述可靠性参数,则确定所述第一资源部署请求消息的请求成功。If it is determined that the quantity of the at least one area satisfies the reliability parameter, determining that the request of the first resource deployment request message is successful.
结合第四方面的第八种可能的实现方式,在第九种可能的实现方式中,In conjunction with the eighth possible implementation of the fourth aspect, in a ninth possible implementation manner,
若所述确定单元确定所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述至少一个区域的数量,所述至少一个区域的数量用于所述管理节点更改所述可靠性参数,以使得所述更改后的所述可靠性参数满足所述区域的数量。 If the determining unit determines that the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the The number of at least one region, the number of the at least one region being used by the management node to change the reliability parameter such that the modified reliability parameter satisfies the number of the regions.
结合第四方面的第八种可能的实现方式,在第十种可能的实现方式中,若所述确定单元确定所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述VIM还包括更改单元和部署单元,With the eighth possible implementation of the fourth aspect, in a tenth possible implementation, if the determining unit determines that the request for the first resource deployment request message fails, the resource deployment response message is used The request indicating the first resource deployment request message fails, and the VIM further includes a change unit and a deployment unit,
所述更改单元,用于根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量;The modifying unit is configured to change the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit, where the modified reliability parameter satisfies the quantity of the at least one area;
所述发送单元发送的所述资源部署应答消息中携带所述更改后的所述可靠性参数;The resource deployment response message sent by the sending unit carries the modified reliability parameter;
所述接收单元,还用于在所述发送单元向所述管理节点发送资源部署应答消息之后,接收所述管理节点发送的更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数;The receiving unit is further configured to: after the sending unit sends a resource deployment response message to the management node, receive a change response message sent by the management node, where the change response message is used to indicate whether the change is allowed to be used. The reliability parameter afterwards;
所述部署单元,用于若所述接收单元接收的所述更改响应消息用于指示允许使用所述更改后的所述可靠性参数,所述VIM则根据所述更改后的所述可靠性参数部署所述虚拟资源。The deployment unit is configured to: if the change response message received by the receiving unit is used to indicate that the modified reliability parameter is allowed to be used, the VIM is configured according to the modified reliability parameter Deploy the virtual resource.
结合第四方面的第八种可能的实现方式,在第十种可能的实现方式中,In conjunction with the eighth possible implementation of the fourth aspect, in a tenth possible implementation manner,
若所述确定单元确定所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功;If the determining unit determines that the request for the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful;
所述确定单元,还用于在所述发送单元根据所述请求结果向所述管理节点发送资源部署应答消息之前,根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案;The determining unit is further configured to: after the sending unit sends a resource deployment response message to the management node according to the request result, determine, according to the quantity of the at least one virtual unit and the at least one area, that the Reliability parameters and at least one deployment scenario allowed by the VIM;
所述发送单元发送的所述资源部署应答消息中携带所述至少一种部署方案;The resource deployment response message sent by the sending unit carries the at least one deployment solution;
所述接收单元,还用于在所述发送单元根据所述请求结果向所述管理节点发送资源部署应答消息之前,接收所述管理节点发送的 资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述第一部署方案为所述管理节点接收到所述资源部署应答消息后,从所述至少一种部署方案中确定的;The receiving unit is further configured to: before the sending unit sends a resource deployment response message to the management node according to the request result, receive the sending by the management node a resource deployment indication message, where the resource deployment indication message carries the first deployment scenario, where the first deployment scenario is after the management node receives the resource deployment response message, from the at least one deployment scenario definite;
所述VIM还包括部署单元,The VIM also includes a deployment unit,
所述部署单元,用于根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The deployment unit is configured to deploy the virtual resource on the at least one area according to the first deployment scenario.
结合第四方面的第八种可能的实现方式,在第十一种可能的实现方式中,所述接收单元接收的所述第一资源部署请求消息中还携带部署方案选择规则,所述部署方案选择规则用于所述VIM从所述至少一种部署方案选择第一部署方案;With reference to the eighth possible implementation manner of the foregoing aspect, in the eleventh possible implementation manner, the first resource deployment request message received by the receiving unit further includes a deployment scenario selection rule, where the deployment scenario is Selecting rules for the VIM to select a first deployment scenario from the at least one deployment scenario;
若所述确定单元确定所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功;If the determining unit determines that the request for the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful;
所述确定单元,还用于在所述发送单元根据所述请求结果向所述管理节点发送资源部署应答消息之前,根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案,并根据所述部署方案选择规则从所述至少一种部署方案选择所述第一部署方案;The determining unit is further configured to: after the sending unit sends a resource deployment response message to the management node according to the request result, determine, according to the quantity of the at least one virtual unit and the at least one area, that the a reliability parameter and at least one deployment scenario allowed by the VIM, and selecting the first deployment scenario from the at least one deployment scenario according to the deployment scenario selection rule;
所述VIM还包括部署单元,The VIM also includes a deployment unit,
所述部署单元,用于根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The deployment unit is configured to deploy the virtual resource on the at least one area according to the first deployment scenario.
第五方面,本发明实例提供一种管理节点,包括:处理器、存储器、系统总线和通信接口;In a fifth aspect, an embodiment 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 execution instruction, the processor is connected to the memory through the system bus, and when the management node is running, the processor executes the computer execution instruction stored in the memory to And the method for deploying the virtual resource according to any one of the implementation manners of the first aspect or the first aspect.
第六方面,本发明实施例提供一种VIM,包括:处理器、存储 器、系统总线和通信接口;In a sixth aspect, an embodiment of the present invention provides a VIM, including: a processor and a storage. , system bus and communication interface;
所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述系统总线连接,当所述VIM运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述VIM执行第二方面或第二方面的任一种实现方式所述的虚拟资源的部署方法。The memory is configured to store computer execution instructions, the processor is coupled to the memory via the system bus, and when the VIM is running, the processor executes the computer-executed instructions stored by the memory to enable The VIM performs the method for deploying a virtual resource according to any one of the second aspect or the second aspect.
第七方面,本发明实施例提供一种通信系统,包括:A seventh aspect of the present invention provides a communication system, including:
如上述第三方面或第三方面的任一种实现方式所示的管理节点,和如上述第四方面或第四方面的任一种实现方式所示的VIM;或者,a management node as shown in any one of the foregoing third aspect or the third aspect, and the VIM as shown in any one of the foregoing fourth aspect or the fourth aspect; or
如上述第五方面或第五方面的任一种实现方式所示的管理节点,和如上述第六方面或第六方面的任一种实现方式所示的VIM。A management node as shown in any one of the fifth aspect or the fifth aspect, and the VIM as shown in any one of the sixth aspect or the sixth aspect.
本发明实施例提供的通信系统中,管理节点能够将可靠性参数携带在第一资源部署请求消息中,由于该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,因此VIM VIM接收到第一资源部署请求消息后,可以确定在一个区域内能够部署的虚拟单元的最大数量,并按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。In the communication system provided by the embodiment of the present invention, the management node can carry the reliability parameter in the first resource deployment request message, and the VIM VIM is represented by the reliability parameter to represent the maximum number of virtual units allowed to be deployed in an area. After receiving the first resource deployment request message, the maximum number of virtual units that can be deployed in an area can be determined, and the virtual resources are deployed according to the reliability parameter, thereby avoiding the VIM that may be used in the prior art. Resources are deployed on a single area to improve 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 embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例提供的一种NFV系统框图;FIG. 1 is a block diagram of an NFV system according to an embodiment of the present invention;
图2为本发明实施例提供的一种虚拟资源的部署方法的交互图一;2 is an interaction diagram 1 of a method for deploying a virtual resource according to an embodiment of the present invention;
图3为本发明实施例提供的一种虚拟资源的部署方法的交互图二; FIG. 3 is an interaction diagram 2 of a method for deploying a virtual resource according to an embodiment of the present disclosure;
图4为本发明实施例提供的一种虚拟资源的部署方法的交互图三;FIG. 4 is an interaction diagram 3 of a method for deploying a virtual resource according to an embodiment of the present invention;
图5为本发明实施例提供的一种虚拟资源的部署方法的交互图四;FIG. 5 is an interaction diagram 4 of a method for deploying a virtual resource according to an embodiment of the present invention;
图6为本发明实施例提供的一种虚拟资源的部署方法的交互图五;FIG. 6 is an interaction diagram 5 of a method for deploying a virtual resource according to an embodiment of the present invention;
图7为本发明实施例提供的一种管理节点的结构示意图一;FIG. 7 is a schematic structural diagram 1 of a management node according to an embodiment of the present disclosure;
图8为本发明实施例提供的一种管理节点的结构示意图二;FIG. 8 is a schematic structural diagram 2 of a management node according to an embodiment of the present disclosure;
图9为本发明实施例提供的一种管理节点的结构示意图三;FIG. 9 is a schematic structural diagram 3 of a management node according to an embodiment of the present disclosure;
图10为本发明实施例提供的一种VIM的结构示意图一;FIG. 10 is a schematic structural diagram 1 of a VIM according to an embodiment of the present disclosure;
图11为本发明实施例提供的一种VIM的结构示意图二;FIG. 11 is a schematic structural diagram 2 of a VIM according to an embodiment of the present disclosure;
图12为本发明实施例提供的一种管理节点的硬件结构示意图;FIG. 12 is a schematic structural diagram of hardware of a management node according to an embodiment of the present disclosure;
图13为本发明实施例提供的一种VIM的硬件结构示意图;FIG. 13 is a schematic structural diagram of hardware of a VIM according to an embodiment of the present disclosure;
图14为本发明实施例提供的一种通信系统的框图。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 are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
如图1所示,为一种NFV系统框图。该NFV系统包括:网络功能虚拟化调度节点(英文:network function virtualization orchestrator,缩写:NFVO)、虚拟网络功能管理节点(英文:virtualized network function manager,VNFM)、虚拟机基础设施管理节点(英文:virtualized infrastructure manager,缩写:VIM)、运营支撑系统(英文:operations support system,缩写:OSS)或业务支撑系统(英文:business support system,缩写:BSS)、网元管理节点(英文:element manager,缩写:EM)、VNF、虚拟网络功能基础设施(英文:network function virtualization infrastructure,缩写:NFVI)、网 络服务(英文:network service,缩写:NS)目录,以及VNF目录等。As shown in Figure 1, it is a block diagram of an NFV system. The NFV system includes: network function virtualization scheduling node (English: network function virtualization orchestrator, abbreviation: NFVO), virtual network function management node (English: virtualized network function manager, VNFM), virtual machine infrastructure management node (English: virtualized Infrastructure manager, abbreviation: VIM), operation support system (English: operations support system, abbreviation: OSS) or business support system (English: business support system, abbreviation: BSS), network element management node (English: element manager, abbreviation: EM), VNF, virtual network functional infrastructure (English: network function virtualization infrastructure, abbreviation: NFVI), network Network service (English: network service, abbreviation: NS) directory, and VNF directory.
在NFV系统中,NFVO、VNFM以及VIM构成了NFV系统的管理编排(英文:NFV management and orchestration,缩写:NFV-MANO)域,其中,NFVO也可以称为网络功能虚拟化编排者,OSS/BSS都可以称为网络管理节点(英文:network manager,缩写:NM)。In the NFV system, NFVO, VNFM, and VIM form the NFV management and orchestration (NFV-MANO) domain. Among them, NFVO can also be called network function virtualization orchestrator, OSS/BSS. They can all be called network management nodes (English: network manager, abbreviation: NM).
其中,EM为一个或多个VNF进行功能配置、故障管理、功能使用情况的记录、性能统计、安全管理等。The EM performs function configuration, fault management, function usage record, performance statistics, and security management for one or more VNFs.
VNF是虚拟化的逻辑网元,如电信分组领域的SGSN、MME、GGSN、SGW、PGW等,每种网元都可独立部署,呈现为一个VNF。The VNF is a virtualized logical network element, such as SGSN, MME, GGSN, SGW, and PGW in the telecom packet field. Each network element can be deployed independently and presented as a VNF.
NFVI为VNF提供硬件资源和虚拟化资源及其管理,以及虚拟化运行环境。NFVI provides hardware resources and virtualization resources and management for VNF, as well as virtualized runtime environments.
NFVO负责NS的生命周期管理,且能够通过指示VIM对NFVI的资源进行编排。The NFVO is responsible for the lifecycle management of the NS and can orchestrate the resources of the NFVI by instructing the VIM.
VNFM负责VNF的生命周期管理,每个VNF都有一个关联的VNFM。一个VNFM可能管理一个VNF,也可能管理多个相同类型甚至不同类型的VNF。VNFM is responsible for the lifecycle management of VNF, and each VNF has an associated VNFM. A VNFM may manage one VNF, or it may manage multiple VNFs of the same type or even different types.
NS目录中存储网络服务描述符(英文:network service descriptor,缩写:NSD),是描述NS的部署和维护行为的模版,包括业务拓扑以及NS的各项特性,其中,业务拓扑包括VNF的各个组成部分及相互间的关系、虚拟链路(英文:virtual links,缩写:VL),以及VNF转发表(英文:VNF forwarding graph,缩写:VNFFG)等,可以由NFVO进行读取。NFVO通常根据VSD对NS进行虚拟资源的部署和维护的操作。The NS directory stores the network service descriptor (English: network service descriptor, abbreviated: NSD), which is a template for describing the deployment and maintenance behavior of the NS, including the service topology and the characteristics of the NS. The service topology includes the components of the VNF. Partial and mutual relationship, virtual link (English: virtual links, abbreviated: VL), and VNF forwarding graph (English: VNF forwarding graph, abbreviation: VNFFG), etc., can be read by NFVO. NFVO usually performs virtual resource deployment and maintenance operations on the NS according to the VSD.
VNF目录存储VNF描述符(英文:VNF descriptor,缩写:VNFD)、软件镜像、文件等,其中VNFD是描述VNF部署和维护行为的模版,可由VNFM或者NFVO进行读取。VNFM或者NFVO通常根据VNFD对VNF进行虚拟资源的部署和维护的操作。 The VNF directory stores VNF descriptors (English: VNF descriptor, abbreviated: VNFD), software images, files, etc., where VNFD is a template describing VNF deployment and maintenance behavior, which can be read by VNFM or NFVO. VNFM or NFVO usually performs virtual resource deployment and maintenance operations on VNF according to VNFD.
VIM负责控制和管理VNFI基础设施中的资源,包括:计算资源、存储资源、网络资源等等,通常这些资源是一个运营商的基础设施。VIM is responsible for controlling and managing resources in the VNFI infrastructure, including: computing resources, storage resources, network resources, etc., which are usually an operator's infrastructure.
为了便于理解本发明实施例中的方法流程,下面对下述关键词作进一步解释:In order to facilitate the understanding of the method flow in the embodiment of the present invention, the following keywords are further explained:
虚拟单元为虚拟资源的部署过程中的基本单元,例如,在实例化VNF时,需要对组成该VNF的多个VM进行部署,该多个VM中的每个VM即为一个虚拟单元;在实例化NS时,需要对组成该NS的多个VNF进行部署,该多个VNF中的每个VNF即为一个虚拟单元。The virtual unit is a basic unit in the deployment process of the virtual resource. For example, when instantiating the VNF, multiple VMs constituting the VNF need to be deployed, and each of the multiple VMs is a virtual unit; When the NS is implemented, a plurality of VNFs constituting the NS need to be deployed, and each of the plurality of VNFs is a virtual unit.
区域为虚拟资源的部署过程中对可靠性进行限制的区域范围。例如,对于VNF来讲,一个区域可以指一个主机(英文:host),或者一个机柜(英文:shelve)等,对于NS来讲,一个区域可以指一个郊区的范围,一座城市的范围等具体的地理区域。A zone is a range of areas where reliability is limited during the deployment of virtual resources. For example, for VNF, an area can refer to a host (English: host), or a cabinet (English: shelve). For NS, an area can refer to the scope of a suburb, the scope of a city, etc. Geographical area.
可靠性参数具体表现为在对虚拟资源进行部署的过程中,在一个区域上允许部署的虚拟单元的最大数量,可以理解的是,在一个区域上允许部署的虚拟单元的数量越小,该虚拟资源组成的NS或者VNF的可靠性越高。The reliability parameter is specifically expressed as the maximum number of virtual units allowed to be deployed in an area during the deployment of the virtual resource. It can be understood that the smaller the number of virtual units allowed to be deployed in one area, the virtual The reliability of the NS or VNF composed of resources is higher.
需要说明的是,上述NFV系统中的任意一个功能节点可能分布在一个实体设备上,也可能分布在多个实体设备上,NFV系统中的多个功能节点可能分别分布在不同的实体设备上,也可能都分布在同一个实体设备上。可以理解的是,NFV系统中的任意一个功能节点都可能是实体设备内的一个逻辑功能模块,也可能是由多个实体设备组成的一个逻辑功能模块。It should be noted that any one of the foregoing NFV systems may be distributed on one physical device or may be distributed on multiple physical devices. Multiple functional nodes in the NFV system may be distributed on different physical devices. It may also be distributed on the same physical device. It can be understood that any functional node in the NFV system may be a logical functional module within the physical device, or may be a logical functional module composed of multiple physical devices.
因此,在本发明实施例中,可以由一个实体设备执行本发明实施例提供的方法中的各个步骤,可以由多个实体设备协作执行本发明实施例提供的方法中的各个步骤,对此本发明不做限定。Therefore, in the embodiment of the present invention, each step in the method provided by the embodiment of the present invention may be performed by an entity device, and the steps in the method provided by the embodiment of the present invention may be performed by multiple physical devices. The invention is not limited.
进一步的,为了更清楚地介绍本发明提供的虚拟资源的部署方法,下文中均以逻辑功能模块(即NFV系统中的功能节点)作为执 行主体或控制对象进行说明,本领域技术人员应当理解,逻辑功能模块在具体实现时依赖于其所在的实体设备上的硬件资源。Further, in order to more clearly introduce the deployment method of the virtual resource provided by the present invention, the following is a logical function module (ie, a function node in the NFV system). The main body or control object is described. Those skilled in the art should understand that the logical function module depends on the hardware resources on the physical device where it is implemented.
在本发明实施例中,NFV系统可以应用于长期演进(英文:long term evolution,缩写:LTE)通信系统中,也可以应用于LTE的演进通信系统中,如LTE-A(英文全称:long term evolution advanced)系统中,还可以应用于WCDMA等第三代移动通信(英文:3rd-Generation,缩写:3G)系统中等,本发明不作限制。In the embodiment of the present invention, the NFV system can be applied to a long term evolution (English: long term evolution, abbreviation: LTE) communication system, and can also be applied to an LTE evolved communication system, such as LTE-A (English full name: long term In the evolution advanced system, it can also be applied to third-generation mobile communication (English: 3rd-Generation, 3G) system such as WCDMA, and the present invention is not limited.
需要说明的是,在本发明实施例中,术语“第一”、“第二”、“第三”仅用于描述目的,用于区分不同的描述对象,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。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 to distinguish different description objects, and are not to be construed as indicating or implying relative importance. Sexually or implicitly indicates the number of technical features indicated.
本发明实施例提供一种虚拟资源的部署方法,如图2所示,该方法可以包括:The embodiment of the invention provides a method for deploying a virtual resource. As shown in FIG. 2, the method may include:
S101、管理节点向VIM发送第一资源部署请求消息,第一资源部署请求消息用于请求VIM部署待部署的虚拟资源,该虚拟资源中包括至少一个虚拟单元,该第一资源部署请求消息中携带与该虚拟资源对应的可靠性参数。S101. The management node sends a first resource deployment request message to the VIM, where the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed, where the virtual resource includes at least one virtual unit, where the first resource deployment request message is carried. A reliability parameter corresponding to the virtual resource.
其中,该可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量。The reliability parameter is used to characterize the maximum number of virtual units allowed to be deployed in an area.
需要说明的是,在本发明实施例中,可靠性参数的表达形式可以包括但不限于绝对参数、相对参数、比例,以及等级中的至少一种。It should be noted that, in the embodiment of the present invention, the expression of the reliability parameter may include, but is not limited to, at least one of an absolute parameter, a relative parameter, a ratio, and a level.
具体的,例如1、2、5等数值可以表示绝对参数,以绝对参数2为例,表征在同一个区域内最多可以部署2个虚拟单元,例如,实例化某个VNF时,一个主机上最多部署2个组成该VNF的VM,实例化某个NS时,一片郊区范围内最多部署2个组成该NS的VNF。Specifically, values such as 1, 2, and 5 can represent absolute parameters. Taking absolute parameter 2 as an example, it can be characterized that up to 2 virtual units can be deployed in the same area. For example, when instantiating a VNF, a host has the most When deploying two VMs that make up the VNF, when instantiating an NS, a maximum of two VNFs that make up the NS are deployed in a suburban area.
10%、20%、30%等数值可以表示相对参数,以相对参数20%为例,表征在一个区域内最多可以部署多个虚拟单元的数量的20%的虚拟单元。例如组成某个VNF的VM的数量为10,当实例化该 VNF时,在一个主机上最多部署10*20%=2个VM。The values of 10%, 20%, 30%, etc. can represent relative parameters, and take 20% of the relative parameters as an example to characterize a virtual unit that can deploy up to 20% of the number of virtual units in one area. For example, the number of VMs that make up a VNF is 10, when instantiating the At VNF, deploy up to 10*20%=2 VMs on a single host.
1/2、1/3、2/5等数值可以表示比例,以比例1/3为例,表征在一个区域内最多可以部署多个虚拟单元的数量的1/3的虚拟单元。例如组成某个NS的VNF的数量为8,当实例化该NS时,在一个主机上最多部署2个VNF(8*1/3取整数)。The values of 1/2, 1/3, 2/5, etc. can represent the scale. Taking the ratio 1/3 as an example, a virtual unit that can deploy up to 1/3 of the number of virtual units in one area can be represented. For example, the number of VNFs that make up an NS is 8. When the NS is instantiated, a maximum of 2 VNFs (8*1/3 integers) are deployed on one host.
可选的,还可以将可靠性划分为多个等级,例如可以将可靠性划分为最高、高、中、低,以及最低五个等级,其分别对应的可靠性参数为0%、25%、50%、75%,以及100%。Optionally, the reliability may be divided into multiple levels. For example, the reliability may be divided into the highest, the highest, the medium, the low, and the lowest five levels, and the corresponding reliability parameters are 0%, 25%, respectively. 50%, 75%, and 100%.
需要说明的是,网络维护人员可以预先根据网络预计划的部署情况,在每个描述符中设置相对应的可靠性参数,描述符可以包括VNFD或者NSD。从而当管理节点需要部署待部署的虚拟资源时,可以从与该虚拟资源对应的描述符中获取该可靠性参数,从而将该可靠性参数携带在第一资源部署请求消息发送至VIM发送。It should be noted that the network maintenance personnel may set corresponding reliability parameters in each descriptor according to the deployment situation of the network pre-plan, 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 may be obtained from the descriptor corresponding to the virtual resource, so that the reliability parameter is carried in the first resource deployment request message and sent to the VIM for sending.
具体的,可靠性参数可以设置在VNFD中的任意模块中,例如VNF模块的部署描述模版(英文:virtualised development unit,缩写:VDU)、内部虚拟链接(英文:internal virtual link descriptor,缩写:IVLD)或IVL描述符(英文:IVL descriptor,缩写:IVLD)等。Specifically, the reliability parameter may be set in any module in the VNFD, for example, a deployment description template of the VNF module (English: virtualised development unit, abbreviated: VDU), internal virtual link descriptor (English: internal virtual link descriptor, abbreviation: IVLD) Or IVL descriptor (English: IVL descriptor, abbreviation: IVLD) and so on.
因此,管理节点具体可以从VNFC、VDU、IVL、IVLD,或者部署定制化中获取预设的可靠性参数。Therefore, the management node may obtain preset reliability parameters from VNFC, VDU, IVL, IVLD, or deployment customization.
可靠性参数也可以设置在NSD中的任意模块中,例如VL或者VNFFG等。The reliability parameters can also be set in any module in the NSD, such as VL or VNFFG.
因此,管理节点具体可以从VL或者VNFFG中获取预设的可靠性参数。Therefore, the management node may specifically obtain preset reliability parameters from the VL or the VNFFG.
需要说明的是,在本发明实施例中,管理节点可以为NFVO,也可以VNFM。当管理节点为NFVO时,描述符可以为VNFD,也可以为NSD,NFVO可以通过获取VNFD中的信息对VNF进行虚拟资源的部署,也可以通过获取NSD中的信息对NS进行虚拟资源的部署和维护。It should be noted that, in the embodiment of the present invention, the management node may be NFVO or VNFM. When the management node is NFVO, the descriptor may be a VNFD or an NSD. The NFVO may deploy the virtual resource to the VNF by acquiring information in the VNFD, or may perform virtual resource deployment on the NS by acquiring information in the NSD. maintain.
当管理节点为VNFM时,描述符可以为VNFD,VNFM可以通 过获取VNFD中的信息对VNF进行虚拟资源的部署和维护。When the management node is VNFM, the descriptor can be VNFD, and VNFM can pass. The information in the VNFD is obtained to deploy and maintain virtual resources of the VNF.
S102、VIM接收管理节点发送的第一资源部署请求消息。S102. The VIM receives a first resource deployment request message sent by the management node.
S103、VIM根据该可靠性参数,该VIM所管理的至少一个区域的数量,以及该至少一个虚拟单元的数量,确定该第一资源部署请求消息的请求结果,该请求结果包括该第一资源部署请求消息的请求成功或者失败。S103. The VIM determines, according to the reliability parameter, the quantity of the at least one area managed by the VIM, and the quantity of the at least one virtual unit, the request result of the first resource deployment request message, where the request result includes the first resource deployment. The request for the message was successful or failed.
需要说明的是,该第一资源部署请求消息的请求成功包括VIM成功按照该第一资源部署请求消息中携带的可靠性参数进行资源部署。该第一资源部署请求消息的请求失败包括VIM无法按照该可靠性参数进行资源部署。It should be noted that the request for the first resource deployment request message succeeds that the VIM successfully performs resource deployment according to the reliability parameter carried in the first resource deployment request message. The request for the first resource deployment request message fails, and the VIM cannot perform resource deployment according to the reliability parameter.
具体的,上述S103具体可以包括:Specifically, the foregoing S103 may specifically include:
VIM根据该至少一个虚拟单元的数量、该至少一个区域的数量,以及该可靠性参数,确定该至少一个区域的数量是否满足该可靠性参数。The VIM determines, according to the number of the at least one virtual unit, the number of the at least one area, and the reliability parameter, whether the quantity of the at least one area satisfies the reliability parameter.
其中,若VIM确定该至少一个区域的数量不满足该可靠性参数,VIM则确定该第一资源部署请求消息的请求失败。If the VIM determines that the number of the at least one area does not satisfy the reliability parameter, the VIM determines that the request for the first resource deployment request message fails.
若VIM确定该至少一个区域的数量满足该可靠性参数,VIM则确定该第一资源部署请求消息的请求成功。If the VIM determines that the number of the at least one area satisfies the reliability parameter, the VIM determines that the request for the first resource deployment request message is successful.
示例性的,为了更好的说明VIM根据该至少一个虚拟单元的数量、该至少一个区域的数量,以及该可靠性参数,确定该至少一个区域的数量是否满足该可靠性参数,下面以该至少一个虚拟单元为8台VM,该可靠性参数为2为例进行示例性的说明。Exemplarily, in order to better explain that the VIM determines, according to the number of the at least one virtual unit, the quantity of the at least one area, and the reliability parameter, whether the quantity of the at least one area satisfies the reliability parameter, One virtual unit is 8 VMs, and the reliability parameter is 2 as an example for exemplary explanation.
VIM接收到该第一资源部署请求消息后,根据该第一资源部署请求消息确定需要部署8台VM,且可靠性参数为2,则VIM确定部署该8台VM至少需要8/2=4台主机。After receiving the first resource deployment request message, the VIM determines that eight VMs need to be deployed according to the first resource deployment request message, and the reliability parameter is 2. The VIM determines that the deployment of the eight VMs needs at least 8/2=4 Host.
假设,该VIM所管理的至少一个区域为3台主机,由于在将该8台VM部署在3台主机上时,至少有一台主机上需要部署2台以上的VM,因此并不符合可靠性参数2,而按照可靠性参数2,部署8台VM至少需要4台主机,由于3小于4,因此,VIM确定其管理 的主机的数量不满足该可靠性参数,进而VIM确定该第一资源部署请求消息的请求失败,即VIM确定按照该可靠性参数,无法在3台上成功部署该8台VM。Assume that at least one area managed by the VIM is three hosts. Since the eight VMs are deployed on three hosts, at least one host needs to deploy more than two VMs, so the reliability parameters are not met. 2, and according to reliability parameter 2, deploying 8 VMs requires at least 4 hosts. Since 3 is less than 4, VIM determines its management. The number of hosts does not meet the reliability parameter, and the VIM determines that the request for the first resource deployment request message fails. That is, the VIM determines that the eight VMs cannot be successfully deployed on three stations according to the reliability parameter.
假设,该VIM所管理的至少一个区域为5台主机,由于5大于4,因此,VIM确定其管理的主机的数量满足该可靠性参数,进而VIM确定该第一资源部署请求消息的请求成功,即VIM确定按照该可靠性参数,能够该5台主机上成功部署该8台VM。Assume that at least one area managed by the VIM is 5 hosts. Since 5 is greater than 4, the VIM determines that the number of hosts managed by the VIM satisfies the reliability parameter, and the VIM determines that the request for the first resource deployment request message is successful. That is, the VIM determines that the eight VMs can be successfully deployed on the five hosts according to the reliability parameter.
S104、VIM根据该请求结果向管理节点发送资源部署应答消息,该资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。S104. The VIM sends a resource deployment response message to the management node according to the result of the request, where the resource deployment response message is used to indicate that the request of the first resource deployment request message succeeds or fails.
S105、管理节点接收VIM发送的资源部署应答消息。S105. The management node receives the resource deployment response message sent by the VIM.
在本发明实施例中,由于管理节点在向VIM请求资源部署的时,将预设的可靠性参数携带在资源部署请求消息中发送至VIM,从而VIM能够根据该可靠性参数进行虚拟资源的部署,限制了在一个区域上VIM允许部署的虚拟单元的最大数量,从而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。In the embodiment of the present invention, when the management node requests the resource deployment from the VIM, 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 resource according to the reliability parameter. The maximum number of virtual units that VIM is allowed to deploy in an area is limited, so that the VIM in the prior art may deploy all the virtual resources in one area, thereby improving the reliability of resource deployment.
进一步的,一方面,在该第一资源部署请求消息的请求失败情况下,管理节点和VIM可以执行如下两种后续操作。Further, on the one hand, in the case that the request of the first resource deployment request message fails, the management node and the VIM can perform the following two subsequent operations.
(1)、若VIM确定第一资源部署请求消息的请求失败,则上述资源部署应答消息用于指示该第一资源部署请求消息的请求失败,且该资源部署应答消息中携带VIM所管理的至少一个区域的数量,该至少一个区域的数量用于该管理节点更改可靠性参数,以使得更改后的可靠性参数满足该VIM所管理的区域的数量。(1) If the VIM determines that the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries at least the VIM managed by the VIM. The number of one area, the number of the at least one area is used by the management node to change the reliability parameter, so that the changed reliability parameter satisfies the number of areas managed by the VIM.
具体的,若VIM确定第一资源部署请求消息的请求失败,结合图2,如图3所示,在上述S105之后,该方法还包括:Specifically, if the VIM determines that the request for the first resource deployment request message fails, as shown in FIG. 3, as shown in FIG. 3, after the foregoing S105, the method further includes:
S106、管理节点根据该至少一个区域的数量和该至少一个虚拟单元的数量,更改该可靠性参数,更改后的可靠性参数满足该至少一个区域的数量。 S106. The management node changes the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit, and the modified reliability parameter satisfies the quantity of the at least one area.
示例性的,假设该至少一个虚拟单元包括8台VM,该至少一个区域包括3台主机。当管理节点接收VIM发送的资源部署应答消息后,确定第一资源部署请求消息的请求失败,并确定VIM所管理的主机共3台,进而管理节点可以确定在3台主机上能够成功部署8台VM的部署方案可以包括“008”和“017”,分别表示8台VM均部署在该3台主机中的同1台主机上,和1台VM部署在3台主机中的某1台主机上,另外7台VM部署在3台主机中的另外1台主机上。以此类推,管理节点可以确定的部署方案还包括“026”、“035”、“044”、“116”、“125”、“134”、“224”,以及“233”。Exemplarily, it is assumed that the at least one virtual unit includes 8 VMs, and the at least one area includes 3 hosts. After receiving the resource deployment response message sent by the VIM, the management node determines that the request for the first resource deployment request message fails, and determines that the host managed by the VIM has a total of three hosts, and the management node can determine that 8 hosts can be successfully deployed on the three hosts. The deployment plan of the VM may include "008" and "017", respectively, indicating that eight VMs are deployed on the same host of the three hosts, and one VM is deployed on one of the three hosts. The other seven VMs are deployed on the other of the three hosts. By analogy, the deployment plan that the management node can determine includes "026", "035", "044", "116", "125", "134", "224", and "233".
由于在一个区域上允许部署的虚拟单元的最大数量越少,可靠性越高,因此,管理节点可以确定在一个区域上部署的虚拟单元最少的部署方案,即“233”为这10个部署方案中可靠性最高的部署方案,该部署方案中在一个区域上部署的虚拟单元的最大数量为3,即该部署方案对应的可靠性参数为3,因此管理节点可以将可靠性参数由原来的2更改为3。更改后的可靠性参数满足该至少一个区域的数量。Since the maximum number of virtual units allowed to be deployed in an area is less, the reliability is higher. Therefore, the management node can determine the deployment plan with the fewest virtual units deployed on one area, that is, "233" is the 10 deployment plans. The most reliable deployment solution. The maximum number of virtual cells deployed in an area is 3, that is, the reliability parameter corresponding to the deployment plan is 3. Therefore, the management node can set the reliability parameters from the original 2 Change to 3. The changed reliability parameter satisfies the number of the at least one region.
S107、管理节点向VIM发送第二资源部署请求消息,该第二资源部署请求消息中携带该更改后的可靠性参数。S107. The management node sends a second resource deployment request message to the VIM, where the second resource deployment request message carries the changed reliability parameter.
值得说明的是,在本发明实施例中,当第一资源部署请求消息的请求失败后,管理节点能够根据实际的物理资源,即该VIM所管理的至少一个区域的数量对原本预设的可靠性参数进行更改,且更改为满足该至少一个区域的数量的参数,并将更改后的可靠性参数携带在第二资源部署请求消息中,发送至VIM,以再次请求VIM根据该更改后的可靠性参数对待部署的虚拟资源进行部署。由于更改后的可靠性参数满足该至少一个区域的数量,因此VIM接收到第二资源部署请求消息后,VIM能够按照更改后的可靠性参数,在该至少一个区域上成功部署该虚拟资源。It 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 can be reliable according to the actual physical resource, that is, the number of at least one area managed by the VIM. The parameter is changed and changed to a parameter that satisfies the quantity of the at least one area, and the changed reliability parameter is carried in the second resource deployment request message and sent to the VIM to request the VIM again according to the reliability of the change. The sexual parameters are deployed for the deployed virtual resources. After the changed reliability parameter satisfies the quantity of the at least one area, the VIM can successfully deploy the virtual resource on the at least one area according to the changed reliability parameter after the VIM receives the second resource deployment request message.
可以理解的是,在本发明实施例提供的虚拟资源的部署方法中,由于预设的可靠性参数具有可调性,因此能够在VIM所管理的区域 的数量不满足预设的可靠性参数时,对该可靠性进行更改,以保证虚拟资源能够成功部署在该区域上,并保证该虚拟资源部署的可靠性,提高了虚拟资源部署的灵活性。It can be understood that, in the method for deploying the virtual resource provided by the embodiment of the present invention, since the preset reliability parameter has adjustability, it can be in the area managed by the VIM. When the number of the reliability parameters does not meet the preset reliability parameters, the reliability is changed to ensure that the virtual resources can be successfully deployed in the area, and the reliability of the virtual resource deployment is ensured, thereby improving the flexibility of virtual resource deployment.
可选的,在实际应用中,存在一种可能的应用场景,即根据实际工程的需要,在进行虚拟资源部署的过程中,必须严格按照预设的可靠性参数进行资源部署,即不允许更改可靠性参数。那么在本发明实施例中,可以在描述符中设置一个开关项,用于指示是否允许管理节点更改该描述符中预设的可靠性参数。Optionally, in a practical application, there is a possible application scenario, that is, according to actual engineering requirements, in the process of deploying virtual resources, resource deployment must be strictly performed according to preset reliability parameters, that is, no change is allowed. Reliability parameters. 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 enabled, the representation allows the management node to change the reliability parameter; if the switch item is closed, the representation does not allow the management node to change the reliability parameter.
示例性的,开关项可以为一个标志位,若该标志位赋值为1,则表示开关项开启,若该标志位赋值为0,则表示开关项关闭;也可以用字符串off和on来表征该开关项的关闭和开启,对此,本发明实施例不做限制。Exemplarily, the switch item can be a flag bit. If the flag bit is set to 1, it indicates that the switch item is turned on. If the flag bit is set to 0, the switch item is turned off; or the string off and on can be used to represent The switch item is closed and opened, and the embodiment of the present invention is not limited thereto.
进一步的,管理节点在根据至少一个区域的数量和至少一个虚拟单元的数量,更改该可靠性参数之前,管理节点可以先查询保存该可靠性参数的描述符中预设的开关项是否开启,若该开关项开启,管理节点即可执行根据该至少一个区域的数量和该至少一个虚拟单元的数量,更改该可靠性参数的步骤。否则,管理节点不对该可靠性参数进行更改,在这种情况下,管理节点可以向网络维护人员提示该第一资源部署请求消息的请求失败,并将该至少一个区域的数量通知给网络维护人员,从而网络维护人员可以获知VIM所管理的区域的数量不足,进而网络维护人员可以增加部署物理资源,以使得该物理资源可以满足部署待部署的虚拟资源的需求,从而使得待部署的虚拟资源能够按照要求的可靠性参数成功进行部署。Further, before the management node changes the reliability parameter according to the quantity of the at least one area and the quantity of the at least one virtual unit, the management node may first query whether the preset switch item in the descriptor storing the reliability parameter is turned on, if The switch item is turned on, and the management node can 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 change the reliability parameter. In this case, the management node may notify the network maintenance personnel that the request for the first resource deployment request message fails, and notify the network maintenance personnel of the number of the at least one area. Therefore, the network maintenance personnel can know that the number of areas managed by the VIM is insufficient, and the network maintenance personnel can increase the deployment of physical resources, so that the physical resources can meet the requirements of deploying the virtual resources to be deployed, thereby enabling the virtual resources to be deployed. Successful deployment according to the required reliability parameters.
(2)、若该第一资源部署请求消息的请求失败,则该资源部署应答消息用于指示所述第一资源部署请求消息的请求失败。(2) If the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails.
进一步的,在上述S104之前,该方法还包括:Further, before the foregoing S104, the method further includes:
S1、该VIM根据该至少一个区域的数量和该至少一个虚拟单元 的数量,更改该可靠性参数,更改后的可靠性参数满足该至少一个区域的数量。S1. The VIM is based on the number of the at least one area and the at least one virtual unit. The quantity, the reliability parameter is changed, and the modified reliability parameter satisfies the number of the at least one area.
即在本发明实例中,VIM可以自行对该可靠性参数进行修改,确定一个该VIM所管理的区域的数量满足的可靠性参数。That is, in the example of the present invention, the VIM can modify the reliability parameter by itself to determine a reliability parameter that the number of areas managed by the VIM satisfies.
具体的,VIM根据该至少一个区域的数量和该至少一个虚拟单元的数量,更改该可靠性参数的具体方法,可以参见上述S106中管理节点根据该至少一个区域的数量和该至少一个虚拟单元的数量,更改该可靠性参数的具体方法,此处不再赘述。Specifically, the specific method for the VIM to change the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, as described in the above S106, the management node according to the quantity of the at least one area and the at least one virtual unit The number, the specific method of changing the reliability parameter, will not be described here.
进一步的,当VIM确定该更改后的可靠性参数后,即可将该更改后的可靠性参数携带在资源部署应答消息中发送至管理节点,以询问管理节点是否可以使用将该更改后的可靠性参数。Further, after the VIM determines the modified reliability parameter, the changed reliability parameter may be carried in the resource deployment response message and sent to the management node to query whether the management node can use the reliability after the change. Sexual parameters.
进一步的,上述S105之后,所述方法还包括:Further, after the foregoing S105, the method further includes:
S2、管理节点确定是否允许使用该更改后的可靠性参数。S2. The management node determines whether the modified reliability parameter is allowed to be used.
示例性的,管理节点可以通过查询保存该可靠性参数的描述符中开关项是否开启,若该开关项开启,则管理节点确定允许使用该更改后的可靠性参数;若该开关项关闭,则管理节点确定不允许使用该更改后的可靠性参数。Exemplarily, the management node may query whether the switch item in the descriptor of the reliability parameter is enabled, and if the switch item is enabled, the management node determines that the modified reliability parameter is allowed to be used; if the switch item is closed, The management node determines that the changed reliability parameters are not allowed.
管理节点也可以通过向网络维护人员提示该VIM发送的该更改后的可靠性参数,根据网络维护人员的指示确定是否允许使用该更改后的可靠性参数。The management node may also prompt the network maintenance personnel to prompt the modified reliability parameter sent by the VIM, and determine whether the modified reliability parameter is allowed according to the instruction of the network maintenance personnel.
需要说明的是,管理节点确定是否允许使用该更改后的可靠性参数的方式,可以更具实际工程中的需要进行设置,本发明不作限制。It should be noted that, the manner in which the management node determines whether the modified reliability parameter is allowed to be used may be set more in actual engineering, and the present invention is not limited.
S3、管理节点向VIM发送更改响应消息,该更改响应消息用于指示是否允许使用该更改后的可靠性参数。S3. The management node sends a change response message to the VIM, where the change response message is used to indicate whether the modified reliability parameter is allowed to be used.
S4、VIM接收该管理节点发送的更改响应消息。S4. The VIM receives the change response message sent by the management node.
S5、若该更改响应消息用于指示允许使用该更改后的可靠性参数,VIM则根据该更改后的可靠性参数部署所述虚拟资源。S5. If the change response message is used to indicate that the changed reliability parameter is allowed to be used, the VIM deploys the virtual resource according to the changed reliability parameter.
另一方面,若第一资源部署请求消息的请求成功,则VIM至少 可以通过如下两种方式,按照可靠性参数进行虚拟资源的部署。On the other hand, if the request for the first resource deployment request message is successful, the VIM is at least You can deploy virtual resources according to reliability parameters in the following two ways.
方式一,结合图2,如图4所示,在上述S104之前,该方法还包括:In the first method, as shown in FIG. 4, before the foregoing S104, the method further includes:
S108、VIM根据该至少一个虚拟单元的数量和该至少一个区域,确定满足该可靠性参数且VIM允许的至少一种部署方案。S108. The VIM determines, according to the quantity of the at least one virtual unit and the at least one area, at least one deployment scheme that satisfies the reliability parameter and is allowed by the VIM.
示例性的,以可靠性参数为4,8台VM和3台主机为例。Exemplarily, the reliability parameter is 4, 8 VMs and 3 hosts as an example.
根据可靠性参数4,VIM确定在3台主机上能够成功部署8台VM的所有部署方案,该VIM允许的所有部署方案包括“044”、“134”、“224”,以及“233”。其中,由于部署方案“233”为这些部署方案中在一台主机上部署VM最少的部署方案,因此,部署方案“233”为该VIM允许的所有部署方案中可靠性最高的部署方案。According to reliability parameter 4, VIM determines all deployment scenarios for successfully deploying 8 VMs on 3 hosts. All deployment scenarios allowed by the VIM include "044", "134", "224", and "233". The deployment scenario "233" is the most reliable deployment solution among all the deployment scenarios allowed by the VIM, because the deployment scenario "233" is a deployment scenario in which the deployment of the VM is minimal on one of the deployment scenarios.
当VIM确定满足该可靠性参数且该VIM允许的所有部署方案后,VIM即可将该所有部署方案中的至少一种部署方案携带在该资源部署应答消息中发送至管理节点。After the VIM determines that the reliability parameter is met and all the deployment scenarios are allowed by the VIM, the VIM can carry the at least one deployment scenario of all the deployment scenarios to the management node in the resource deployment response message.
需要说明的是,至少一种部署方案可以包括该VIM允许的所有部署方案,即该VIM可以将该VIM允许的所有部署方案均携带在资源部署应答消息中发送至管理节点,以请求管理节点从该VIM允许的所有部署方案中选择一种部署方案。It should be noted that the at least one deployment solution may include all deployment scenarios allowed by the VIM, that is, the VIM may carry all the deployment scenarios allowed by the VIM in a resource deployment response message to the management node to request the management node to Choose one of all deployment scenarios allowed by the VIM.
至少一种部署方案可以包括该VIM允许的所有部署方案中可靠性最高的部署方案,即VIM可以先在该VIM允许的所有部署方案中选择可靠性最高的部署方案,再将该可靠性最高的部署方案携带在资源部署应答消息中发送至管理节点,以询问管理节点是否可以根据该可靠性最高的部署方案进行资源部署。The at least one deployment solution may include the most reliable deployment solution among all the deployment scenarios allowed by the VIM, that is, the VIM can select the most reliable deployment solution among all the deployment scenarios allowed by the VIM, and then the reliability is the highest. The deployment solution is sent to the management node in the resource deployment response message to query whether the management node can perform resource deployment according to the most reliable deployment scenario.
进一步的,在方式一中,上述S105之后,该方法还包括:Further, in the first method, after the foregoing S105, the method further includes:
S109、管理节点从该至少一种部署方案中确定第一部署方案。S109. The management node determines the first deployment scenario from the at least one deployment scenario.
即当管理节点接收到资源部署应答消息,确定第一资源部署请求消息的请求成功,并从该资源部署应答消息中获知该VIM允许的至少一种部署方案后,管理节点可以从该至少一种部署方案中随机选择一种部署方案作为第一部署方案,也可以选择该至少一种部署 方案中可靠性最高的一种部署方案作为第一部署方案,本发明不作具体限定。That is, after the management node receives the resource deployment response message, determines that the request for the first resource deployment request message is successful, and obtains at least one deployment scenario allowed by the VIM from the resource deployment response message, the management node may obtain the at least one A deployment scenario is randomly selected as the first deployment scenario, and the at least one deployment may also be selected. A deployment solution with the highest reliability in the solution is the first deployment solution, and the present invention is not specifically limited.
S110、管理节点向VIM发送资源部署指示消息,该资源部署指示消息中携带该第一部署方案。S110. The management node sends a resource deployment indication message to the VIM, where the resource deployment indication message carries the first deployment solution.
当管理节点从该至少一种部署方案中确定第一部署方案后,即可将该第一部署方案携带在该资源部署指示消息中发送至VIM,以指示VIM根据第一部署方案部署虚拟资源。After the management node determines the first deployment solution from the at least one deployment scenario, the first deployment solution may be sent to the VIM in the resource deployment indication message to indicate that the VIM deploys the virtual resource according to the first deployment scenario.
S111、VIM接收管理节点发送的资源部署指示消息。S111. The VIM receives a resource deployment indication message sent by the management node.
S112、VIM根据第一部署方案在至少一个区域上部署该虚拟资源。S112. The VIM deploys the virtual resource on the at least one area according to the first deployment scenario.
示例性的,结合上述S107中的举例,假设第一部署方案为“233”,则VIM即可在3台主机中的其中一台主机上部署2个VM,另外两台主机上分别部署3个VM。Exemplarily, in combination with the example in S107 above, assuming that the first deployment scenario is “233”, the VIM can deploy two VMs on one of the three hosts, and the other two hosts respectively deploy three. VM.
方式二,结合图2,如图5所示,在上述S104之前,该方法还包括:In the second method, as shown in FIG. 2, before the foregoing S104, the method further includes:
S108、VIM根据该至少一个虚拟单元的数量和该至少一个区域,确定满足该可靠性参数且VIM允许的至少一种部署方案。S108. The VIM determines, according to the quantity of the at least one virtual unit and the at least one area, at least one deployment scheme that satisfies the reliability parameter and is allowed by the VIM.
S113、VIM根据部署方案选择规则从该至少一种部署方案中确定第一部署方案。S113. The VIM determines the first deployment scenario from the at least one deployment scenario according to the deployment scenario selection rule.
需要说明的是,在方式二中,管理节点向VIM发送的第一资源部署请求消息中还携带部署方案选择规则,该部署方案选择规则用于VIM从至少一种部署方案中确定第一部署方案。It should be noted that, in the second mode, the first resource deployment request message sent by the management node to the VIM further includes a deployment plan selection rule, where the deployment plan selection rule is used by the VIM to determine the first deployment plan from the at least one deployment solution. .
示例性的,部署方案选择规则可以为从至少一种部署方案中选择可靠性最高的部署方案,例如,如图4所示实施例中的举例,选择部署方案“233”。部署方案选择规则也可以为需要区域的个数最少的部署方案,例如,如图4所示实施例中的举例,选择部署方案“044”,在该部署方案中,仅需要两台主机即可按照可靠性参数4的要求,成功部署8台VM。Exemplarily, the deployment scenario selection rule may be to select the most reliable deployment scenario from at least one deployment scenario. For example, as in the example in the embodiment shown in FIG. 4, the deployment scenario "233" is selected. The deployment plan selection rule may also be a deployment plan with the least number of required areas. For example, as shown in the example in the embodiment shown in FIG. 4, the deployment plan "044" is selected, in which only two hosts are needed. According to the requirements of reliability parameter 4, 8 VMs were successfully deployed.
S114、VIM根据第一部署方案在至少一个区域上部署该虚拟资 源。S114. The VIM deploys the virtual resource on at least one area according to the first deployment plan. source.
进一步的,当VIM根据该第一部署方案完成虚拟资源的部署后,即可向管理节点发送资源部署应答消息,以指示管理节点该第一资源部署请求消息的请求成功。Further, after the VIM completes the deployment of the virtual resource according to the first deployment scheme, the resource deployment response message may be sent to the management node to indicate that the request of the first resource deployment request message of the management node is successful.
值得说明的是,本发明提供的虚拟资源的部署方法,可以应用于多种应用场景中,例如VNF的实例化,NS的实例化,VNF的扩展过程,NS的扩展,VNF的迁移,以及NS的迁移等场景,这些场景中均包括虚拟资源的部署过程。It should be noted that the virtual resource deployment method provided by the present invention can be applied to various application scenarios, such as instantiation of VNF, instantiation of NS, extension process of VNF, extension of NS, migration of VNF, and NS. Scenarios such as migration, which include the deployment process of virtual resources.
其中,虚拟资源的部署可以是虚拟资源的预留,虚拟资源的分配,或者虚拟资源的迁移。The deployment of the virtual resource may be a reservation of a virtual resource, an allocation of a virtual resource, or a migration of a virtual resource.
进一步的,若虚拟资源的部署具体指虚拟资源的分配,则上述第一资源部署请求消息具体为第一资源分配请求消息,且该第一资源分配请求消息用于请求VIM分配该虚拟资源;若虚拟资源的部署具体指虚拟资源的预留,则上述第一资源部署请求消息具体为第一资源预留请求消息,且该第一资源预留请求消息用于请求VIM预留该虚拟资源;若虚拟资源的部署具体指虚拟资源的迁移,则上述第一资源部署请求消息具体为第一资源迁移请求消息,且该第一资源迁移请求消息用于请求VIM将该虚拟资源迁移到该VIM管理的至少一个区域上。Further, if the deployment of the virtual resource specifically refers to the 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 to request the VIM to allocate the virtual resource; The deployment of the virtual resource specifically refers to the reservation of the virtual resource, and the first resource deployment request message is specifically a first resource reservation request message, and the first resource reservation request message is used to request the VIM to reserve the virtual resource; The deployment of the virtual resource specifically refers to the migration of the virtual resource, and the first resource deployment request message is specifically a first resource migration request message, and the first resource migration request message is used to request the VIM to migrate the virtual resource to the VIM management. At least one area.
需要说明的是,由于在VNF的实例化过程或者VNF的扩展过程中,可以由VNFM向VIM发送资源分配请求消息,请求VIM为VNF分配虚拟资源,因此,当本发明实施例提供的虚拟资源的部署方法,应用于VNF的实例化过程或者VNF的扩展过程中,且虚拟资源的部署具体指虚拟资源的分配时,管理节点可以为VNFM。It should be noted that, in the process of the instantiation of the VNF or the extension of the VNF, the resource allocation request message may be sent by the VNFM to the VIM, and the VIM is requested to allocate the virtual resource to the VNF. Therefore, when the virtual resource provided by the embodiment of the present invention is used, The deployment method is applied to the VNF instantiation process or the VNF extension process, and the virtual resource deployment specifically refers to the virtual resource allocation, and the management node may be a VNFM.
特别的,当管理节点为VNFM时,VNFM可以具备更改可靠性参数的功能,从而当第一资源分配请求消息的请求失败时,VNFM可以自行更改可靠性参数。当然,VNFM也可以不具备更改可靠性参数的功能,从而当第一资源分配请求消息的请求失败时,VNFM可以请求NFVO对可靠性参数进行更改。 In particular, when the management node is a VNFM, the VNFM may have the function of changing the reliability parameter, so that when the request for the first resource allocation request message fails, the VNFM may change the reliability parameter by itself. Of course, the VNFM may also not have the 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.
可以理解的是,若描述符中设置有开关项,则NFVO接收到VNFM的请求,对可靠性参数进行修改前,先查询该开关项是否开启,并在开关型开启的时候,响应VNFM的请求,对可靠性参数进行修改。It can be understood that if a switch item is set in the descriptor, the NFVO receives the request of the VNFM, and before the modification of the reliability parameter, first queries whether the switch item is turned on, and responds to the request of the VNFM when the switch type is turned on. , modify the reliability parameters.
具体的,如图6所示,当VNFM不具备更改可靠性参数的功能时,且在第一资源分配请求消息的请求失败的情况下,本发明实施例提供的虚拟资源部署的方法可以包括:Specifically, as shown in FIG. 6 , when the VNFM does not have the function of changing the reliability parameter, and the request of the first resource allocation request message fails, the method for deploying the virtual resource provided by the embodiment of the present invention may include:
S201、VNFM向VIM发送第一资源分配请求消息,该第一资源分配请求消息中携带可靠性参数。S201. The VNFM sends a first resource allocation request message to the VIM, where the first resource allocation request message carries a reliability parameter.
S202、VIM接收VNFM发送的第一资源分配请求消息。S202. The VIM receives the first resource allocation request message sent by the VNFM.
S203、VIM根据该可靠性参数,该VIM所管理的至少一个区域的数量,以及该至少一个虚拟单元的数量,确定该第一资源分配请求消息的请求失败。S203. The VIM determines, according to the reliability parameter, the number of at least one area managed by the VIM, and the quantity of the at least one virtual unit, that the request for the first resource allocation request message fails.
S204、VIM向VNFM发送资源部署应答消息,该资源部署应答消息用于指示所述第一资源分配请求消息的请求失败,该资源部署应答消息中携带该至少一个区域的数量。S204. The VIM sends a resource deployment response message to the VNFM, where the resource deployment response message is used to indicate that the request for the first resource allocation request message fails, and the resource deployment response message carries the quantity of the at least one area.
S205、VNFM接收VIM发送的资源部署应答消息。S205. The VNFM receives the resource deployment response message sent by the VIM.
S206、VNFM向NFVO发送该至少一个区域的数量和该至少一个虚拟单元的数量。S206. The VNFM sends the number of the at least one area and the quantity of the at least one virtual unit to the NFVO.
其中,VNFM可以将该至少一个区域的数量和该至少一个虚拟单元的数量携带在VNFM和VNFO之间进行信息传输的消息中发送至NFVO。The VNFM may send the number of the at least one area and the number of the at least one virtual unit to the NFVO in a message for information transmission between the VNFM and the VNFO.
S207、NFVO根据该至少一个区域的数量和该至少一个虚拟单元的数量,更改该可靠性参数。S207. The NFVO changes the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit.
S208、NFVO向VNFM发送更改后的可靠性参数。S208. The NFVO sends the modified reliability parameter to the VNFM.
S209、VNFM接收到NFVO发送的更改后的可靠性参数后,向VIM发送第二资源分配请求消息,该第二资源分配请求消息中携带该更改后的可靠性参数。S209. After receiving the changed reliability parameter sent by the NFVO, the VNFM sends a second resource allocation request message to the VIM, where the second resource allocation request message carries the changed reliability parameter.
进而,当VIM接收到第二资源分配请求消息后,即可按照更改 后的可靠性参数进行虚拟资源的部署。可以理解的是,由于修改后的可靠性参数满足该VIM所管理的区域的数量,因此,VIM可以成功按照修改后的可靠性参数进行虚拟资源的部署。Further, when the VIM receives the second resource allocation request message, it can follow the change. After the reliability parameters are deployed for virtual resources. It can be understood that, because the modified reliability parameter satisfies the number of areas managed by the VIM, the VIM can successfully deploy the virtual resource according to the modified reliability parameter.
本发明实例提供一种虚拟资源的部署方法,管理节点能够将可靠性参数携带在第一资源部署请求消息中,由于该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,因此VIM VIM接收到第一资源部署请求消息后,可以确定在一个区域内能够部署的虚拟单元的最大数量,并按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。The embodiment of the present invention provides a method for deploying a virtual resource, where the management node can carry the reliability parameter in the first resource deployment request message, because the reliability parameter represents the maximum number of virtual units allowed to be deployed in an area, After receiving the first resource deployment request message, the VIM VIM can determine the maximum number of virtual cells that can be deployed in an area, and deploy the virtual resources according to the reliability parameter, thereby avoiding the VIM in the prior art. The virtual resources are deployed in an area to improve the reliability of resource deployment.
如图7所示,本发明实施例提供一种管理节点,所述管理节点用于执行以上方法中的管理节点所执行的步骤。所述管理节点可以包括相应步骤所对应的模块。示例性的,所述管理节点可以包括:As shown in FIG. 7, an embodiment of the present invention provides a management node, where the management node is configured to perform the steps performed by the management node in the above method. The management node may include a module corresponding to the corresponding step. Exemplarily, the management node may include:
发送单元10,用于向VIM发送第一资源部署请求消息,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元,所述第一资源部署请求消息中携带与所述虚拟资源对应的可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量。The sending unit 10 is configured to send a first resource deployment request message to the VIM, where the first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, where the virtual resource includes at least one virtual unit, where the A 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 an area.
接收单元11,用于管理节点接收所述VIM发送的资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。The receiving unit 11 is 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 for the first resource deployment request message succeeds or fails.
可选的,所述发送单元10发送的所述可靠性参数的表达形式包括绝对参数、相对参数、比例,以及等级中的至少一种。Optionally, the expression form of the reliability parameter sent by the sending unit 10 includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
可选的,结合图7,如图8所示,所述管理节点还包括获取单元12。Optionally, in conjunction with FIG. 7, as shown in FIG. 8, the management node further includes an obtaining unit 12.
所述获取单元12,用于从所述虚拟资源的预设描述符中获取所述可靠性参数。The obtaining unit 12 is configured to obtain the reliability parameter from a preset descriptor of the virtual resource.
可选的,所述发送单元10发送的所述第一资源部署请求消息为 第一资源分配请求消息。Optionally, the first resource deployment request message sent by the sending unit 10 is The first resource allocation request message.
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源分配请求消息具体用于请求所述VIM分配所述虚拟资源。The first resource allocation request message is specifically used to request the VIM to allocate the virtual resource.
可选的,所述发送单元10发送的所述第一资源部署请求消息具体为第一资源预留请求消息。Optionally, the first resource deployment request message sent by the sending unit 10 is specifically a first resource reservation request message.
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源预留请求消息用于请求所述VIM预留所述虚拟资源。The first resource reservation request message is used to request the VIM to reserve the virtual resource.
可选的,所述发送单元10发送的所述第一资源部署请求消息具体为第一资源迁移请求消息。Optionally, the first resource deployment request message sent by the sending unit 10 is specifically a first resource migration request message.
所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述第一资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述VIM管理的至少一个区域。The first resource migration request message is used to request the VIM to migrate the virtual resource to at least one area of the VIM management.
可选的,所述管理节点为NFVO。Optionally, the management node is NFVO.
所述描述符为虚拟网络功能描述符VNFD,或者所述描述符为网络服务描述符为NSD。The descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor NSD.
可选的,所述管理节点为虚拟VNFM。Optionally, the management node is a virtual VNFM.
所述描述符为VNFD。The descriptor is VNFD.
可选的,所述接收单元11接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述VIM管理的至少一个区域的数量.Optionally, the resource deployment response message received by the receiving unit 11 is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the number of at least one area managed by the VIM. .
结合图8,如图9所示,所述管理节点还包括更改单元13。Referring to FIG. 8, as shown in FIG. 9, the management node further includes a modification unit 13.
所述更改单元13,用于根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量。 The modifying unit 13 is configured to change the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit, where the modified reliability parameter satisfies the quantity of the at least one area.
所述发送单元10,还用于向所述VIM发送第二资源部署请求消息,所述第二资源部署请求消息中携带所述更改后的所述可靠性参数。The sending unit 10 is further configured to send a second resource deployment request message to the VIM, where the second resource deployment request message carries the modified reliability parameter.
可选的,当所述管理节点为VNFM时,所述更改单元13,具体用于向NFVO发送所述至少一个区域的数量和所述至少一个虚拟单元的数量,所述至少一个区域的数量和所述至少一个虚拟单元的数量用于所述NFVO更改所述可靠性参数。Optionally, when the management node is a VNFM, the modifying unit 13 is specifically configured to send, to the NFVO, the number of the at least one area and the quantity of the at least one virtual unit, the quantity and the quantity of the at least one area The number of the at least one virtual unit is used by the NFVO to change the reliability parameter.
所述更改单元13,还用于接收所述NFVO发送的更改后的所述可靠性参数,所述更改后的所述可靠性参数为所述NFVO根据所述至少一个区域的数量和所述至少一个虚拟单元的数量确定的。The modifying unit 13 is further configured to receive the modified reliability parameter sent by the NFVO, where the modified reliability parameter is that the NFVO is based on the number of the at least one region and the at least The number of virtual units is determined.
可选的,所述更改单元13,具体用于查询所述描述符中预设的开关项是否开启,所述开关项用于指示是否允许所述管理节点更改所述可靠性参数;若所述开关项开启,则根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数。Optionally, the changing unit 13 is specifically configured to query whether a preset switch item in the descriptor is enabled, and the switch item is used to indicate whether the management node is allowed to change the reliability parameter; The switch item is turned on, and the reliability parameter is changed according to the number of the at least one area and the number of the at least one virtual unit.
可选的,所述接收单元11接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带更改后的所述可靠性参数,所述管理单元还包括确定单元14。Optionally, the resource deployment response message received by the receiving unit 11 is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the modified reliability parameter. The management unit also includes a determining unit 14.
所述确定单元14,用于确定是否允许使用所述更改后的所述可靠性参数。The determining unit 14 is configured to determine whether the modified reliability parameter is allowed to be used.
所述发送单元11,还用于向所述VIM发送更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数。The sending unit 11 is further configured to send a change response message to the VIM, where the change response message is used to indicate whether the modified reliability parameter is allowed to be used.
可选的,所述接收单元11接收的所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功,所述资源部署应答消息中携带满足所述可靠性参数且所述VIM允许的至少一种部署方案,所述管理节点还包括确定单元14:Optionally, the resource deployment response message received by the receiving unit 11 is used to indicate that the request for the first resource deployment request message is successful, and the resource deployment response message carries the reliability parameter and the VIM At least one deployment scenario is allowed, the management node further comprising a determining unit 14:
所述确定单元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.
所述发送单元10,还用于向所述VIM发送资源部署指示消息, 所述资源部署指示消息中携带所述第一部署方案,所述资源部署指示消息用于指示所述VIM根据所述第一部署方案部署所述虚拟资源。The sending unit 10 is further configured to send a resource deployment indication message to the VIM. The resource deployment indication message carries the first deployment solution, where the resource deployment indication message is used to instruct the VIM to deploy the virtual resource according to the first deployment scenario.
可以理解,本实施例的管理节点可对应于上述如图2至图6任意之一所述的实施例的虚拟资源的部署方法中的管理节点,并且本实施例的管理节点中的各个模块的划分和/或功能等均是为了实现如图2至和图6任意之一所示的方法流程,为了简洁,在此不再赘述。It can be understood that the management node in this embodiment may correspond to the management node in the method for deploying the virtual resource in the foregoing embodiment of any one of FIG. 2 to FIG. 6, and the modules in the management node in the embodiment The division and/or function and the like are all for the implementation of the method flow shown in any one of FIG. 2 to FIG. 6 . For brevity, no further details are provided herein.
本发明实施例提供的管理节点,能够向VIM发送第一资源部署请求消息,并接收VIM发送的资源部署应答消息,其中,该第一资源部署请求消息用于请求VIM部署待部署的虚拟资源,该虚拟资源包括至少一个虚拟单元,该第一资源部署请求消息中携带与该虚拟资源对应的可靠性参数,该可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量,该资源部署应答消息用于指示第一资源部署请求消息的请求成功或者失败。与现有技术相比,管理节点在第一资源部署请求消息携带可靠性参数,由于该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,因此VIM在根据第一资源部署请求消息进行资源部署时可以按照该可靠性参数进行部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。The management node provided by the embodiment of the present invention can send a first resource deployment request message to the VIM, and receive a resource deployment response message sent by the VIM, where the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed. The virtual resource includes at least one virtual unit, and the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in an area, the resource The deployment response message is used to indicate that the request for the first resource deployment request message succeeds or fails. Compared with the prior art, the management node carries the reliability parameter in the first resource deployment request message, and since the reliability parameter represents the maximum number of virtual units allowed to be deployed in one area, the VIM is in accordance with the first resource deployment request. When the message is deployed, the resource can be deployed according to the reliability parameter. This prevents the VIM in the prior art from deploying all the virtual resources in an area. This improves the reliability of resource deployment.
如图10所示,本发明实施例提供一种VIM,所述管理节点用于执行以上方法中的VIM所执行的步骤。所述VIM可以包括相应步骤所对应的模块。示例性的,所述VIM可以包括: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. Exemplarily, the VIM may include:
接收单元20,用于接收管理节点发送的第一资源部署请求消息,所述第一资源部署请求消息中携带可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所 述虚拟资源包括至少一个虚拟单元。The receiving unit 20 is configured to receive a first resource deployment request message sent by the management node, where the first resource deployment request message carries a reliability parameter, where the reliability parameter is used to represent a virtual unit that is allowed to be deployed in an area. The maximum number of the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed. The virtual resource includes at least one virtual unit.
确定单元21,用于根据接收单元20接收的所述可靠性参数,所述VIM所管理的至少一个区域的数量,以及所述至少一个虚拟单元的数量,确定所述第一资源部署请求消息的请求结果,所述请求结果包括所述第一资源部署请求消息的请求成功或者失败。a determining unit 21, configured to determine, according to the reliability parameter received by the receiving unit 20, the number of at least one area managed by the VIM, and the quantity of the at least one virtual unit, determining the first resource deployment request message The result of the request includes the success or failure of the request of the first resource deployment request message.
发送单元22,用于根据确定单元21确定的所述请求结果向所述管理节点发送资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。The sending unit 22 is configured to send a resource deployment response message to the management node according to the request result determined by the determining unit 21, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or failed.
可选的,所述接收单元20接收的所述可靠性参数的表现形式包括绝对参数、相对参数、比例,以及等级中的至少一种。Optionally, the representation form of the reliability parameter received by the receiving unit 20 includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
可选的,所述接收单元20接收的所述第一资源部署请求消息具体为资源预留请求消息。Optionally, the first resource deployment request message received by the receiving unit 20 is specifically a resource reservation request message.
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源预留请求消息用于请求所述VIM预留所述虚拟资源。The resource reservation request message is used to request the VIM to reserve the virtual resource.
可选的,所述接收单元20接收的所述第一资源部署请求消息具体为资源分配请求消息。Optionally, the first resource deployment request message received by the receiving unit 20 is specifically a resource allocation request message.
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源分配请求消息用于请求所述VIM分配所述虚拟资源。The resource allocation request message is used to request the VIM to allocate the virtual resource.
可选的,所述接收单元20接收的所述第一资源部署请求消息具体为资源迁移请求消息。Optionally, the first resource deployment request message received by the receiving unit 20 is specifically a resource migration request message.
所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
所述资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述至少一个区域上。The resource migration request message is used to request the VIM to migrate the virtual resource to the at least one area.
可选的,所述管理节点为NFVO。Optionally, the management node is NFVO.
可选的,所述管理节点为VNFM。Optionally, the management node is a VNFM.
可选的,所述确定单元21,具体用于所述VIM根据所述至少 一个虚拟单元的数量、所述至少一个区域的数量,以及所述可靠性参数,确定所述至少一个区域的数量是否满足所述可靠性参数。Optionally, the determining unit 21 is specifically configured to use the VIM according to the at least The number of one virtual unit, the number of the at least one area, and the reliability parameter determine whether the number of the at least one area satisfies the reliability parameter.
若确定所述至少一个区域的数量不满足所述可靠性参数,则确定所述第一资源部署请求消息的请求失败。If it is determined that the number of the at least one area does not satisfy the reliability parameter, determining that the request for the first resource deployment request message fails.
若确定所述至少一个区域的数量满足所述可靠性参数,则确定所述第一资源部署请求消息的请求成功。If it is determined that the quantity of the at least one area satisfies the reliability parameter, determining that the request of the first resource deployment request message is successful.
可选的,若所述确定单元21确定所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述至少一个区域的数量,所述至少一个区域的数量用于所述管理节点更改所述可靠性参数,以使得所述更改后的所述可靠性参数满足所述区域的数量。Optionally, if the determining unit 21 determines that the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response is The message carries the quantity of the at least one area, and the quantity of the at least one area is used by the management node to change the reliability parameter, so that the modified reliability parameter satisfies the quantity of the area.
可选的,若所述确定单元21确定所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功。Optionally, if the determining unit 21 determines that the request for the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful.
所述确定单元21,还用于在所述发送单元22根据所述请求结果向所述管理节点发送资源部署应答消息之前,根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案。The determining unit 21 is further configured to determine, according to the quantity of the at least one virtual unit and the at least one area, before the sending unit 22 sends a resource deployment response message to the management node according to the request result, The reliability parameter and the at least one deployment scenario allowed by the VIM.
所述发送单元22发送的所述资源部署应答消息中携带所述至少一种部署方案。The resource deployment response message sent by the sending unit 22 carries the at least one deployment solution.
所述接收单元20,还用于在所述发送单元22根据所述请求结果向所述管理节点发送资源部署应答消息之前,接收所述管理节点发送的资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述第一部署方案为所述管理节点接收到所述资源部署应答消息后,从所述至少一种部署方案中确定的。The receiving unit 20 is further configured to: before the sending unit 22 sends a resource deployment response message to the management node according to the request result, receive a resource deployment indication message sent by the management node, where the resource deployment indication message is sent The first deployment solution is carried out, and the first deployment solution is determined by the management node after receiving the resource deployment response message from the at least one deployment scenario.
结合图10,如图11所示,所述VIM还包括部署单元23。Referring to FIG. 10, as shown in FIG. 11, the VIM further includes a deployment unit 23.
所述部署单元23,用于根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。 The deployment unit 23 is configured to deploy the virtual resource on the at least one area according to the first deployment scheme.
可选的,所述接收单元20接收的所述第一资源部署请求消息中还携带部署方案选择规则,所述部署方案选择规则用于所述VIM从所述至少一种部署方案选择第一部署方案。Optionally, the first resource deployment request message received by the receiving unit 20 further includes a deployment scenario selection rule, where the deployment scenario selection rule is used by the VIM to select a first deployment from the at least one deployment scenario. Program.
若所述确定单元21确定所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功。If the determining unit 21 determines that the request for the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful.
所述确定单元21,还用于在所述发送单元22根据所述请求结果向所述管理节点发送资源部署应答消息之前,根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案,并根据所述部署方案选择规则从所述至少一种部署方案选择所述第一部署方案。The determining unit 21 is further configured to determine, according to the quantity of the at least one virtual unit and the at least one area, before the sending unit 22 sends a resource deployment response message to the management node according to the request result, And the reliability parameter and the at least one deployment scenario allowed by the VIM, and selecting the first deployment scenario from the at least one deployment scenario according to the deployment scenario selection rule.
所述部署单元23,用于根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The deployment unit 23 is configured to deploy the virtual resource on the at least one area according to the first deployment scheme.
可选的,若所述确定单元21确定所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述VIM还包括更改单元24和部署单元23。Optionally, if the determining unit 21 determines that the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the VIM further includes The unit 24 and the deployment unit 23 are changed.
所述更改单元24,用于根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量。The modifying unit 24 is configured to change the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit, where the modified reliability parameter satisfies the quantity of the at least one area.
所述发送单元22发送的所述资源部署应答消息中携带所述更改后的所述可靠性参数。The resource deployment response message sent by the sending unit 22 carries the modified reliability parameter.
所述接收单元20,还用于在所述发送单元22向所述管理节点发送资源部署应答消息之后,接收所述管理节点发送的更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数。The receiving unit 20 is further configured to: after the sending unit 22 sends a resource deployment response message to the management node, receive a change response message sent by the management node, where the change response message is used to indicate whether to allow use The modified reliability parameter is described.
所述部署单元23,用于若所述接收单元接收的所述更改响应消息用于指示允许使用所述更改后的所述可靠性参数,所述VIM则根据所述更改后的所述可靠性参数部署所述虚拟资源。The deployment unit 23 is configured to: if the change response message received by the receiving unit is used to indicate that the modified reliability parameter is allowed to be used, the VIM is based on the modified reliability The parameter deploys the virtual resource.
可以理解,本实施例的VIM可对应于上述如图2至图6任意之 一所述的实施例的虚拟资源的部署方法中的VIM,并且本实施例的VIM中的各个模块的划分和/或功能等均是为了实现如图2至和图6任意之一所示的方法流程,为了简洁,在此不再赘述。It can be understood that the VIM of this embodiment may correspond to any of the above-mentioned FIG. 2 to FIG. 6 . The VIM in the method for deploying the virtual resources of the embodiment, and the division and/or function of each module in the VIM of the embodiment are all implemented as shown in any one of FIG. 2 to FIG. 6 . The method flow, for the sake of brevity, will not be described here.
本发明实施例提供一种VIM,能够接收管理节点发送的第一资源部署请求消息,根据第一资源部署请求消息中携带的可靠性参数,该VIM所管理的至少一个区域的数量,以及至少一个虚拟单元的数量,确定该第一资源部署请求消息的请求结果,并根据该请求结果向管理节点发送资源部署应答消息,该资源部署应答消息用于指示该第一资源部署请求消息的请求成功或者失败,其中,该可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量。与现有技术相比,本发明实施例提供的VIM能够根据可靠性参数确定在一个区域内能够部署的虚拟单元的最大数量,从而按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。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, and according to a reliability parameter carried in the first resource deployment request message, the number of at least one area managed by the VIM, and at least one Determining, by the number of the virtual unit, the request result of the first resource deployment request message, and sending a resource deployment response message to the management node according to the result of the request, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or Failure, where the reliability parameter is used to characterize the maximum number of virtual units allowed to be deployed within an area. Compared with the prior art, the VIM provided by the embodiment of the present invention can determine the maximum number of virtual units that can be deployed in an area according to the reliability parameter, thereby deploying the virtual resources according to the reliability parameter, thereby avoiding the existing In the technology, VIM may deploy all virtual resources in one area to improve the reliability of resource deployment.
如图12所示,本发明实施例提供一种管理节点,该管理节点包括:处理器30、存储器31、系统总线32和通信接口33。As shown in FIG. 12, an embodiment of the present invention provides a management node, which includes a processor 30, a memory 31, a system bus 32, and a communication interface 33.
所述存储器31用于存储计算机执行指令,所述处理器30与所述存储器31通过所述系统总线32连接,当所述管理节点运行时,所述处理器30执行所述存储器31存储的所述计算机执行指令,以使所述管理节点执行如图2至图6任意之一所述的虚拟资源的部署方法。具体的虚拟资源的部署方法可参见上述如图2至图6任意之一所示的实施例中的相关描述,此处不再赘述。The memory 31 is configured to store computer execution instructions, the processor 30 is connected to the memory 31 via the system bus 32, and when the management node is running, the processor 30 executes the storage of the memory 31. The computer executes the instructions to cause the management node to perform the deployment method of the virtual resource as described in any one of FIGS. 2 to 6. For a specific method for deploying a virtual resource, refer to the related description in the foregoing embodiment shown in any one of FIG. 2 to FIG. 6, and details are not described herein again.
其中,所述处理器30可以为中央处理器(英文:central processing unit,缩写:CPU)。所述处理器30还可以为其他通用处理器、数字信号处理器(英文:digital signal processing,简称DSP)、专用集成电路(英文:application specific integrated circuit,简称ASIC)、现场可编程门阵列(英文:field-programmable gate array,简称FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、 分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 30 can be a central processing unit (English: central processing unit, abbreviated as: CPU). The processor 30 can also be other general-purpose processors, digital signal processing (DSP), application specific integrated circuit (ASIC), field programmable gate array (English) : field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, Discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
所述处理器30可以为专用处理器,该专用处理器可以包括基带处理芯片、射频处理芯片等中的至少一个。进一步地,该专用处理器还可以包括具有管理节点其他专用处理功能的芯片。The processor 30 may be a dedicated processor, and the dedicated processor may include at least one of a baseband processing chip, a radio frequency processing chip, and the like. Further, the dedicated processor may also include a chip with other dedicated processing functions of the management node.
所述存储器31可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);所述存储器31也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);所述存储器31还可以包括上述种类的存储器的组合。The memory 31 may include a volatile memory (English: volatile memory), such as a random access memory (English: random-access memory, abbreviation: RAM); the memory 31 may also include a non-volatile memory (English: Non-volatile memory, such as read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English) : solid-state drive, abbreviated: SSD); the memory 31 may also include a combination of the above types of memories.
所述系统总线32可以包括数据总线、电源总线、控制总线和信号状态总线等。本实施例中为了清楚说明,在图12中将各种总线都示意为系统总线32。The system bus 32 can include a data bus, a power bus, a control bus, and a signal status bus. For the sake of clarity in the present embodiment, various buses are illustrated as system bus 32 in FIG.
所述处理器30通过所述通信接口33与其他设备,例如VIM之间进行数据的交互。The processor 30 performs data interaction with other devices, such as a VIM, through the communication interface 33.
在具体实现过程中,上述图2至图6任意之一所示的方法流程中的各步骤均可以通过硬件形式的处理器30执行存储器31中存储的软件形式的计算机执行指令实现。为避免重复,此处不再赘述。In a specific implementation process, each step in the method flow shown in any one of the foregoing FIG. 2 to FIG. 6 can be implemented by the processor 30 in hardware form executing a computer-executed instruction in the form of software stored in the memory 31. To avoid repetition, we will not repeat them here.
本发明实施例提供的管理节点,能够向VIM发送第一资源部署请求消息,并接收VIM发送的资源部署应答消息,其中,该第一资源部署请求消息用于请求VIM部署待部署的虚拟资源,该虚拟资源包括至少一个虚拟单元,该第一资源部署请求消息中携带与该虚拟资源对应的可靠性参数,该可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量,该资源部署应答消息用于指示第一资源部署请求消息的请求成功或者失败。与现有技术相比,管理节点在第一资源部署请求消息携带可靠性参数,由于该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,因此VIM在根据 第一资源部署请求消息进行资源部署时可以按照该可靠性参数进行部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。The management node provided by the embodiment of the present invention can send a first resource deployment request message to the VIM, and receive a resource deployment response message sent by the VIM, where the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed. The virtual resource includes at least one virtual unit, and the first resource deployment request message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in an area, the resource The deployment response message is used to indicate that the request for the first resource deployment request message succeeds or fails. Compared with the prior art, the management node carries the reliability parameter in the first resource deployment request message, and since the reliability parameter represents the maximum number of virtual units allowed to be deployed in one area, the VIM is based on The first resource deployment request message may be deployed according to the reliability parameter when the resource is deployed. This prevents the VIM from deploying all the virtual resources in an area in the prior art, and improves the reliability of resource deployment.
如图13所示,本发明实施例提供一种VIM,该VIM包括:处理器40、存储器41、系统总线42和通信接口43。As shown in FIG. 13, an embodiment of the present invention provides a VIM, which includes a processor 40, a memory 41, a system bus 42, and a communication interface 43.
所述存储器41用于存储计算机执行指令,所述处理器40与所述存储器41通过所述系统总线42连接,当所述VIM运行时,所述处理器40执行所述存储器41存储的所述计算机执行指令,以使所述VIM执行如图2至图6任意之一所述的资源指示方法。具体的资源指示方法可参见上述如图2至图6任意之一所示的实施例中的相关描述,此处不再赘述。The memory 41 is configured to store computer execution instructions, the processor 40 is coupled to the memory 41 via the system bus 42, and the processor 40 executes the memory stored by the memory 41 when the VIM is running The computer executes the instructions to cause the VIM to perform the resource indication method as described in any of Figures 2-6. For a specific resource indication method, refer to the related description in the foregoing embodiment shown in any one of FIG. 2 to FIG. 6 , and details are not described herein again.
其中,所述处理器40可以为CPU。所述处理器40还可以为其他通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 40 can be a CPU. The processor 40 can also be other general purpose processors, DSPs, ASICs, FPGAs or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
所述处理器40可以为专用处理器,该专用处理器可以包括基带处理芯片、射频处理芯片等中的至少一个。进一步地,该专用处理器还可以包括具有VIM其他专用处理功能的芯片。The processor 40 may be a dedicated processor, which may include at least one of a baseband processing chip, a radio frequency processing chip, and the like. Further, the dedicated processor may also include a chip with other dedicated processing functions of VIM.
所述存储器41可以包括易失性存储器,例如随机存取存储器RAM;所述存储器41也可以包括非易失性存储器,例如只读存储器ROM,快闪存储器,HDD或SSD;所述存储器41还可以包括上述种类的存储器的组合。The memory 41 may include a volatile memory such as a random access memory RAM; the memory 41 may also include a non-volatile memory such as a read only memory ROM, a flash memory, an HDD or an SSD; A combination of memories of the above kind may be included.
所述系统总线42可以包括数据总线、电源总线、控制总线和信号状态总线等。本实施例中为了清楚说明,在图13中将各种总线都示意为系统总线42。The system bus 42 can include a data bus, a power bus, a control bus, and a signal status bus. For the sake of clarity in the present embodiment, various buses are illustrated as the system bus 42 in FIG.
所述处理器40通过所述通信接口43与其他设备,例如管理节点之间进行数据的交互。The processor 40 interacts with other devices, such as management nodes, through the communication interface 43.
在具体实现过程中,上述如图2至图6任意之一所示的方法流 程中的各步骤均可以通过硬件形式的处理器40执行存储器41中存储的软件形式的计算机执行指令实现。为避免重复,此处不再赘述。In a specific implementation process, the method flow shown in any one of the above steps 2 to 6 is performed. Each step in the process can be implemented by the processor 40 in hardware form executing computer executed instructions in the form of software stored in the memory 41. To avoid repetition, we will not repeat them here.
本发明实施例提供一种VIM,能够接收管理节点发送的第一资源部署请求消息,根据第一资源部署请求消息中携带的可靠性参数,该VIM所管理的至少一个区域的数量,以及至少一个虚拟单元的数量,确定该第一资源部署请求消息的请求结果,并根据该请求结果向管理节点发送资源部署应答消息,该资源部署应答消息用于指示该第一资源部署请求消息的请求成功或者失败,其中,该可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量。与现有技术相比,本发明实施例提供的VIM能够根据可靠性参数确定在一个区域内能够部署的虚拟单元的最大数量,从而按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。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, and according to a reliability parameter carried in the first resource deployment request message, the number of at least one area managed by the VIM, and at least one Determining, by the number of the virtual unit, the request result of the first resource deployment request message, and sending a resource deployment response message to the management node according to the result of the request, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or Failure, where the reliability parameter is used to characterize the maximum number of virtual units allowed to be deployed within an area. Compared with the prior art, the VIM provided by the embodiment of the present invention can determine the maximum number of virtual units that can be deployed in an area according to the reliability parameter, thereby deploying the virtual resources according to the reliability parameter, thereby avoiding the existing In the technology, VIM may deploy all virtual resources in one area to improve the reliability of resource deployment.
如图14所示,本发明实施例提供一种通信系统,包括如图7至图9任意之一所示的管理节点,和如图10或图11所示的VIM;或者包括如图12所示的管理节点和如图13所示的VIM。As shown in FIG. 14, an embodiment of the present invention provides a communication system, including a management node as shown in any one of FIG. 7 to FIG. 9, and a VIM as shown in FIG. 10 or FIG. 11; The management node shown and the VIM shown in Figure 13.
本发明实施例提供的通信系统中,管理节点通过执行如图2至图6任意之一所示的方法流程中的相应步骤完成本发明实施例的虚拟资源的部署方法;相应的,VIM通过执行如图2至图6任意之一所示的方法流程中的相应步骤完成本发明实施例的虚拟资源的部署方法。In the communication system provided by the embodiment of the present invention, the management node performs the virtual resource deployment method of the embodiment of the present invention by performing corresponding steps in the method flow shown in any one of FIG. 2 to FIG. 6; correspondingly, the VIM is executed. The corresponding steps in the method flow shown in any one of FIG. 2 to FIG. 6 complete the method for deploying the virtual resource in the embodiment of the present invention.
本发明实施例提供的通信系统中,管理节点能够将可靠性参数携带在第一资源部署请求消息中,由于该可靠性参数表征了在一个区域内允许部署的虚拟单元的最大数量,因此VIM VIM接收到第一资源部署请求消息后,可以确定在一个区域内能够部署的虚拟单元的最大数量,并按照该可靠性参数进行虚拟资源的部署,进而避免了现有技术中VIM可能将所有的虚拟资源部署在一个区域上,进行提高了资源部署的可靠性。 In the communication system provided by the embodiment of the present invention, the management node can carry the reliability parameter in the first resource deployment request message, and the VIM VIM is represented by the reliability parameter to represent the maximum number of virtual units allowed to be deployed in an area. After receiving the first resource deployment request message, the maximum number of virtual units that can be deployed in an area can be determined, and the virtual resources are deployed according to the reliability parameter, thereby avoiding the VIM that may be used in the prior art. Resources are deployed on a single area to improve the reliability of resource deployment.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。It will be clearly understood by those skilled in the art that for the convenience and brevity of the description, only the division of each functional module described above is exemplified. In practical applications, the above function assignment can be completed by different functional modules as needed. The internal structure of the device is divided into different functional modules to perform all or part of the functions described above. For the specific working process of the system, the device and the unit described above, reference may be made to the corresponding process in the foregoing method embodiments, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接。In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本发明各个实施例所述方法的全部或部分步 骤。所述存储介质是非短暂性(英文:non-transitory)介质,包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solution may be embodied in the form of a software product stored in a storage medium, including a plurality of instructions for causing a computer device (which may be a personal computer, a server, Or a network device or the like) or a processor to perform all or part of the method of the various embodiments of the present invention Step. The storage medium is a non-transitory medium, including: a flash memory, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program code.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.

Claims (28)

  1. 一种虚拟资源的部署方法,其特征在于,包括:A method for deploying a virtual resource, comprising:
    管理节点向虚拟机基础设施管理节点VIM发送第一资源部署请求消息,所述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元,所述第一资源部署请求消息中携带与所述虚拟资源对应的可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量;The management node sends a first resource deployment request message to the virtual machine infrastructure management node VIM, where the first resource deployment request message is used to request the VIM to deploy the virtual resource to be deployed, where the virtual resource includes at least one virtual unit. The first resource deployment request message carries a reliability parameter corresponding to the virtual resource, where the reliability parameter is used to represent a maximum number of virtual units allowed to be deployed in an area;
    所述管理节点接收所述VIM发送的资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。The management node receives the 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.
  2. 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein
    所述可靠性参数的表达形式包括绝对参数、相对参数、比例,以及等级中的至少一种。The expression form of the reliability parameter includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
  3. 根据权利要求1或2所述的方法,其特征在于,所述管理节点向VIM发送第一资源部署请求消息之前,所述方法还包括:The method according to claim 1 or 2, wherein before the sending, by the management node, the first resource deployment request message to the VIM, the method further includes:
    所述管理节点从所述虚拟资源的预设描述符中获取所述可靠性参数。The management node acquires the reliability parameter from a preset descriptor of the virtual resource.
  4. 根据权利要求3所述的方法,其特征在于,The method of claim 3 wherein:
    所述第一资源部署请求消息为第一资源分配请求消息;The first resource deployment request message is a first resource allocation request message;
    所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
    所述第一资源分配请求消息具体用于请求所述VIM分配所述虚拟资源。The first resource allocation request message is specifically used to request the VIM to allocate the virtual resource.
  5. 根据权利要求3所述的方法,其特征在于,The method of claim 3 wherein:
    所述第一资源部署请求消息具体为第一资源预留请求消息;The first resource deployment request message is specifically a first resource reservation request message;
    所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
    所述第一资源预留请求消息用于请求所述VIM预留所述虚拟资源。 The first resource reservation request message is used to request the VIM to reserve the virtual resource.
  6. 根据权利要求3所述的方法,其特征在于,The method of claim 3 wherein:
    所述第一资源部署请求消息具体为第一资源迁移请求消息;The first resource deployment request message is specifically a first resource migration request message;
    所述第一资源部署请求消息具体用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is specifically used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
    所述第一资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述VIM管理的至少一个区域。The first resource migration request message is used to request the VIM to migrate the virtual resource to at least one area of the VIM management.
  7. 根据权利要求3-6任一项所述的方法,其特征在于,A method according to any one of claims 3-6, wherein
    所述管理节点为网络功能虚拟化调度节点NFVO;The management node is a network function virtualization scheduling node NFVO;
    所述描述符为虚拟网络功能描述符VNFD,或者所述描述符为网络服务描述符为NSD。The descriptor is a virtual network function descriptor VNFD, or the descriptor is a network service descriptor NSD.
  8. 根据权利要求4所述的方法,其特征在于,The method of claim 4 wherein:
    所述管理节点为虚拟网络功能管理节点VNFM;The management node is a virtual network function management node VNFM;
    所述描述符为VNFD。The descriptor is VNFD.
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述VIM管理的至少一个区域的数量,所述方法还包括:The method according to any one of claims 1-8, wherein the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the VIM The number of at least one area managed, the method further comprising:
    所述管理节点根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量;The management node changes the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit, and the modified reliability parameter satisfies the quantity of the at least one area;
    所述管理节点向所述VIM发送第二资源部署请求消息,所述第二资源部署请求消息中携带所述更改后的所述可靠性参数。The management node sends a second resource deployment request message to the VIM, where the second resource deployment request message carries the modified reliability parameter.
  10. 根据权利要求9所述的方法,其特征在于,当所述管理节点为VNFM时,The method according to claim 9, wherein when said management node is a VNFM,
    所述管理节点根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,包括:The management node changes the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit, including:
    所述VNFM向NFVO发送所述至少一个区域的数量和所述至少一个虚拟单元的数量,所述至少一个区域的数量和所述至少一个虚拟单元的数量用于所述NFVO更改所述可靠性参数; The VNFM sends the number of the at least one area and the number of the at least one virtual unit to the NFVO, the number of the at least one area and the number of the at least one virtual unit are used for the NFVO to change the reliability parameter ;
    所述VNFM接收所述NFVO发送的更改后的所述可靠性参数,所述更改后的所述可靠性参数为所述NFVO根据所述至少一个区域的数量和所述至少一个虚拟单元的数量确定的。Receiving, by the VNFM, the modified reliability parameter sent by the NFVO, the modified reliability parameter is determined by the NFVO according to the number of the at least one area and the quantity of the at least one virtual unit of.
  11. 根据权利要求9或10所述的方法,其特征在于,所述管理节点根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,包括:The method according to claim 9 or 10, wherein 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, including:
    所述管理节点查询所述描述符中预设的开关项是否开启,所述开关项用于指示是否允许所述管理节点更改所述可靠性参数;The management node queries whether a preset switch item in the descriptor is turned on, and the switch item is used to indicate whether the management node is allowed to change the reliability parameter;
    若所述开关项开启,所述管理节点则根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数。And if the switch item is turned on, the management node changes the reliability parameter according to the number of the at least one area and the quantity of the at least one virtual unit.
  12. 根据权利根据权利要求1-8任一项所述的方法,其特征在于,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述更改后的所述可靠性参数,所述方法还包括:The method according to any one of claims 1 to 8, wherein the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries The modified reliability parameter, the method further includes:
    所述管理节点确定是否允许使用所述更改后的所述可靠性参数;Determining, by the management node, whether the modified reliability parameter is allowed to be used;
    所述管理节点向所述VIM发送更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数。The management node sends a change response message to the VIM, the change response message being used to indicate whether the modified reliability parameter is allowed to be used.
  13. 根据权利要求1-8任一项所述的方法,其特征在于,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功,所述资源部署应答消息中携带满足所述可靠性参数且所述VIM允许的至少一种部署方案,所述方法还包括:The method according to any one of claims 1 to 8, wherein the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful, and the resource deployment response message carries The reliability parameter and the at least one deployment scheme allowed by the VIM, the method further includes:
    所述管理节点从所述至少一种部署方案中确定第一部署方案;Determining, by the management node, a first deployment scenario from the at least one deployment scenario;
    所述管理节点向所述VIM发送资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述资源部署指示消息用于指示所述VIM根据所述第一部署方案部署所述虚拟资源。The management node sends a resource deployment indication message to the VIM, where the resource deployment indication message carries the first deployment scenario, and the resource deployment indication message is used to indicate that the VIM is deployed according to the first deployment solution. Describe virtual resources.
  14. 一种虚拟资源的部署方法,其特征在于,包括:A method for deploying a virtual resource, comprising:
    虚拟机基础设施管理节点VIM接收管理节点发送的第一资源部署请求消息,所述第一资源部署请求消息中携带可靠性参数,所述可靠性参数用于表征在一个区域内允许部署的虚拟单元的最大数量,所 述第一资源部署请求消息用于请求所述VIM部署待部署的虚拟资源,所述虚拟资源包括至少一个虚拟单元;The virtual machine infrastructure management node VIM receives the first resource deployment request message sent by the management node, where the first resource deployment request message carries a reliability parameter, and the reliability parameter is used to identify a virtual unit that is allowed to be deployed in an area. Maximum number of The first resource deployment request message is used to request the VIM to deploy a virtual resource to be deployed, where the virtual resource includes at least one virtual unit;
    所述VIM根据所述可靠性参数,所述VIM所管理的至少一个区域的数量,以及所述至少一个虚拟单元的数量,确定所述第一资源部署请求消息的请求结果,所述请求结果包括所述第一资源部署请求消息的请求成功或者失败;Determining, by the VIM, a request result of the first resource deployment request message according to the reliability parameter, a quantity of at least one area managed by the VIM, and a quantity of the at least one virtual unit, where the request result includes The request for the first resource deployment request message succeeds or fails;
    所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息,所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功或者失败。And the VIM sends a resource deployment response message to the management node according to the request result, where the resource deployment response message is used to indicate that the request of the first resource deployment request message is successful or failed.
  15. 根据权利要求14所述的方法,其特征在于,The method of claim 14 wherein:
    所述可靠性参数的表现形式包括绝对参数、相对参数、比例,以及等级中的至少一种。The representation of the reliability parameter includes at least one of an absolute parameter, a relative parameter, a ratio, and a level.
  16. 根据权利要求14或15所述的方法,其特征在于,A method according to claim 14 or 15, wherein
    所述第一资源部署请求消息具体为资源预留请求消息;The first resource deployment request message is specifically a resource reservation request message;
    所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
    所述资源预留请求消息用于请求所述VIM预留所述虚拟资源。The resource reservation request message is used to request the VIM to reserve the virtual resource.
  17. 根据权利要求14或15所述的方法,其特征在于,A method according to claim 14 or 15, wherein
    所述第一资源部署请求消息具体为资源分配请求消息;The first resource deployment request message is specifically a resource allocation request message;
    所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
    所述资源分配请求消息用于请求所述VIM分配所述虚拟资源。The resource allocation request message is used to request the VIM to allocate the virtual resource.
  18. 根据权利要求14或15所述的方法,其特征在于,A method according to claim 14 or 15, wherein
    所述第一资源部署请求消息具体为资源迁移请求消息;The first resource deployment request message is specifically a resource migration request message;
    所述第一资源部署请求消息用于请求所述VIM部署所述第一资源部署请求消息指示的虚拟资源,包括:The first resource deployment request message is used to request the VIM to deploy the virtual resource indicated by the first resource deployment request message, including:
    所述资源迁移请求消息用于请求所述VIM将所述虚拟资源迁移到所述至少一个区域上。The resource migration request message is used to request the VIM to migrate the virtual resource to the at least one area.
  19. 根据权利要求16-18任一项所述的方法,其特征在于, A method according to any one of claims 16-18, wherein
    所述管理节点为网络功能虚拟化调度节点NFVO。The management node is a network function virtualization scheduling node NFVO.
  20. 根据权利要求16所述的方法,其特征在于,The method of claim 16 wherein:
    所述管理节点为虚拟网络功能管理节点VNFM。The management node is a virtual network function management node VNFM.
  21. 根据权利要求14-20任一项所述的方法,其特征在于,所述VIM根据所述可靠性参数,所述VIM所管理的至少一个区域的数量,以及所述至少一个虚拟单元的数量,确定所述第一资源部署请求消息的请求结果,包括:The method according to any one of claims 14 to 20, wherein the VIM is based on the reliability parameter, the number of at least one area managed by the VIM, and the number of the at least one virtual unit, Determining the result of the request of the first resource deployment request message, including:
    所述VIM根据所述至少一个虚拟单元的数量、所述至少一个区域的数量,以及所述可靠性参数,确定所述至少一个区域的数量是否满足所述可靠性参数;Determining, by the VIM, whether the quantity of the at least one area satisfies the reliability parameter according to the number of the at least one virtual unit, the quantity of the at least one area, and the reliability parameter;
    若所述VIM确定所述至少一个区域的数量不满足所述可靠性参数,所述VIM则确定所述第一资源部署请求消息的请求失败;If the VIM determines that the number of the at least one area does not satisfy the reliability parameter, the VIM determines that the request for the first resource deployment request message fails;
    若所述VIM确定所述至少一个区域的数量满足所述可靠性参数,所述VIM则确定所述第一资源部署请求消息的请求成功。And if the VIM determines that the quantity of the at least one area satisfies the reliability parameter, the VIM determines that the request for the first resource deployment request message is successful.
  22. 根据权利要求21所述的方法,其特征在于,The method of claim 21 wherein
    若所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,所述资源部署应答消息中携带所述至少一个区域的数量,所述至少一个区域的数量用于所述管理节点更改所述可靠性参数,以使得所述更改后的所述可靠性参数满足所述区域的数量。If the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails, and the resource deployment response message carries the quantity of the at least one area. And the number of the at least one area is used by the management node to change the reliability parameter such that the changed reliability parameter satisfies the number of the area.
  23. 根据权利要求21所述的方法,其特征在于,The method of claim 21 wherein
    若所述第一资源部署请求消息的请求失败,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求失败,If the request for the first resource deployment request message fails, the resource deployment response message is used to indicate that the request for the first resource deployment request message fails.
    所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之前,所述方法还包括:Before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
    所述VIM根据所述至少一个区域的数量和所述至少一个虚拟单元的数量,更改所述可靠性参数,更改后的所述可靠性参数满足所述至少一个区域的数量;The VIM changes the reliability parameter according to the number of the at least one area and the number of the at least one virtual unit, and the modified reliability parameter satisfies the quantity of the at least one area;
    所述资源部署应答消息中携带所述更改后的所述可靠性参数; The resource deployment response message carries the modified reliability parameter;
    所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之后,所述方法还包括:After the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
    所述VIM接收所述管理节点发送的更改响应消息,所述更改响应消息用于指示是否允许使用所述更改后的所述可靠性参数;Receiving, by the VIM, a change response message sent by the management node, where the change response message is used to indicate whether the modified reliability parameter is allowed to be used;
    若所述更改响应消息用于指示允许使用所述更改后的所述可靠性参数,所述VIM则根据所述更改后的所述可靠性参数部署所述虚拟资源。And if the change response message is used to indicate that the modified reliability parameter is allowed to be used, the VIM deploys the virtual resource according to the changed reliability parameter.
  24. 根据权利要求21所述的方法,其特征在于,The method of claim 21 wherein
    若所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功;If the request for the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful;
    所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之前,所述方法还包括:Before the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
    所述VIM根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案;Determining, by the VIM, at least one deployment scenario that satisfies the reliability parameter and the VIM allows, 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 solution;
    所述VIM根据所述请求结果向所述管理节点发送资源部署应答消息之后,所述方法还包括:After the VIM sends a resource deployment response message to the management node according to the request result, the method further includes:
    所述VIM接收所述管理节点发送的资源部署指示消息,所述资源部署指示消息中携带所述第一部署方案,所述第一部署方案为所述管理节点接收到所述资源部署应答消息后,从所述至少一种部署方案中确定的;The VIM receives the resource deployment indication message sent by the management node, where the resource deployment indication message carries the first deployment plan, where the first deployment scenario is after the management node receives the resource deployment response message. Determining from the at least one deployment scenario;
    所述VIM根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The VIM deploys the virtual resource on the at least one area according to the first deployment scenario.
  25. 根据权利要求21所述的方法,其特征在于,所述第一资源部署请求消息中还携带部署方案选择规则,所述部署方案选择规则用于所述VIM从所述至少一种部署方案选择第一部署方案;The method according to claim 21, wherein the first resource deployment request message further carries a deployment plan selection rule, where the deployment plan selection rule is used by the VIM to select from the at least one deployment plan. a deployment plan;
    若所述第一资源部署请求消息的请求成功,则所述资源部署应答消息用于指示所述第一资源部署请求消息的请求成功;If the request for the first resource deployment request message is successful, the resource deployment response message is used to indicate that the request for the first resource deployment request message is successful;
    所述VIM根据所述请求结果向所述管理节点发送资源部署应答 消息之前,所述方法还包括:The VIM sends a resource deployment response to the management node according to the request result. Before the message, the method further includes:
    所述VIM根据所述至少一个虚拟单元的数量和所述至少一个区域,确定满足所述可靠性参数且所述VIM允许的至少一种部署方案;Determining, by the VIM, at least one deployment scenario that satisfies the reliability parameter and the VIM allows, according to the number of the at least one virtual unit and the at least one region;
    所述VIM根据所述部署方案选择规则从所述至少一种部署方案选择所述第一部署方案;The VIM selects the first deployment scenario from the at least one deployment scenario according to the deployment scenario selection rule;
    所述VIM根据所述第一部署方案在所述至少一个区域上部署所述虚拟资源。The VIM deploys the virtual resource on the at least one area according to the first deployment scenario.
  26. 一种管理节点,其特征在于,包括:处理器、存储器、系统总线和通信接口;A management node, comprising: a processor, a memory, a system bus, and a communication interface;
    所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述系统总线连接,当所述管理节点运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述管理节点执行如权利要求1-13任意一项所述的虚拟资源的部署方法。The memory is configured to store a computer execution instruction, the processor is connected to the memory through the system bus, and when the management node is running, the processor executes the computer execution instruction stored in the memory to The management node is configured to perform the virtual resource deployment method according to any one of claims 1-13.
  27. 一种虚拟机基础设施管理节点VIM,其特征在于,包括:处理器、存储器、系统总线和通信接口;A virtual machine infrastructure management node VIM, comprising: a processor, a memory, a system bus, and a communication interface;
    所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过所述系统总线连接,当所述VIM运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述VIM执行如权利要求14-25任意一项所述的虚拟资源的部署方法。The memory is configured to store computer execution instructions, the processor is coupled to the memory via the system bus, and when the VIM is running, the processor executes the computer-executed instructions stored by the memory to enable The VIM performs the method for deploying a virtual resource according to any one of claims 14-25.
  28. 一种通信系统,其特征在于,包括:A communication system, comprising:
    如上述权利要求26所述的管理节点和如权利要求27所述的虚拟机基础设施管理节点VIM。 A management node as claimed in claim 26 and a virtual machine infrastructure management node VIM as claimed in claim 27.
PCT/CN2015/093481 2015-10-31 2015-10-31 Method, apparatus, and system for deploying virtual resources WO2017070963A1 (en)

Priority Applications (2)

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
CN201580049748.3A CN107408058B (en) 2015-10-31 2015-10-31 Virtual resource deployment method, device and system

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 (1)

Publication Number Publication Date
WO2017070963A1 true WO2017070963A1 (en) 2017-05-04

Family

ID=58630242

Family Applications (1)

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

Country Status (2)

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

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112748981A (en) * 2019-10-29 2021-05-04 华为技术有限公司 Method and device for processing software mirror image of virtual network function
CN112910673A (en) * 2019-12-04 2021-06-04 中国移动通信有限公司研究院 Method, device, equipment and storage medium for determining network element deployment information

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860618A (en) * 2019-11-26 2021-05-28 中移(苏州)软件技术有限公司 Resource management method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607308A (en) * 2013-11-29 2014-02-26 杭州东信北邮信息技术有限公司 Virtual machine multi-network management system and method in cloud computing environment
CN103649916A (en) * 2011-05-13 2014-03-19 瑞典爱立信有限公司 Allocation of virtual machines in datacenters
WO2014208661A1 (en) * 2013-06-27 2014-12-31 日本電気株式会社 Device, method, system, and program for designing placement of virtual machine
CN104468688A (en) * 2013-09-13 2015-03-25 株式会社Ntt都科摩 Method and apparatus for network virtualization
WO2015126430A1 (en) * 2014-02-24 2015-08-27 Hewlett-Packard Development Company, L.P. Virtual network function management with deactivated virtual machines
CN104954220A (en) * 2014-03-31 2015-09-30 华为技术有限公司 Virtual network service deployment method and device thereof

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2511821B1 (en) * 2005-10-07 2021-06-09 Citrix Systems, Inc. Method and system for accessing a file in a directory structure associated with an application
US8839241B2 (en) * 2010-12-31 2014-09-16 Emc Corporation Virtual appliance deployment
US8949655B2 (en) * 2013-01-31 2015-02-03 Alcatel Lucent Preventing extreme coresidency hazards in cloud computing
CN104050045B (en) * 2014-06-27 2017-06-27 华为技术有限公司 Virtual resource allocation method and device based on disk I/O

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103649916A (en) * 2011-05-13 2014-03-19 瑞典爱立信有限公司 Allocation of virtual machines in datacenters
WO2014208661A1 (en) * 2013-06-27 2014-12-31 日本電気株式会社 Device, method, system, and program for designing placement of virtual machine
CN104468688A (en) * 2013-09-13 2015-03-25 株式会社Ntt都科摩 Method and apparatus for network virtualization
CN103607308A (en) * 2013-11-29 2014-02-26 杭州东信北邮信息技术有限公司 Virtual machine multi-network management system and method in cloud computing environment
WO2015126430A1 (en) * 2014-02-24 2015-08-27 Hewlett-Packard Development Company, L.P. Virtual network function management with deactivated virtual machines
CN104954220A (en) * 2014-03-31 2015-09-30 华为技术有限公司 Virtual network service deployment method and device thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112748981A (en) * 2019-10-29 2021-05-04 华为技术有限公司 Method and device for processing software mirror image of virtual network function
WO2021083061A1 (en) * 2019-10-29 2021-05-06 华为技术有限公司 Method and apparatus for processing software mirror image of virtual network function
CN112748981B (en) * 2019-10-29 2024-03-26 华为技术有限公司 Processing method and device for software mirror image of virtual network function
CN112910673A (en) * 2019-12-04 2021-06-04 中国移动通信有限公司研究院 Method, device, equipment and storage medium for determining network element deployment information
CN112910673B (en) * 2019-12-04 2023-05-09 中国移动通信有限公司研究院 Method, device, equipment and storage medium for determining network element deployment information

Also Published As

Publication number Publication date
CN107408058A (en) 2017-11-28
CN107408058B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
US11960915B2 (en) Method and apparatus for creating virtual machine based on parameter information of a virtual network interface card
US10616133B2 (en) Resource configuration method and network device thereof
US10924966B2 (en) Management method, management unit, and system
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
KR102439559B1 (en) Alarm method and device
US20200081731A1 (en) Method, system and apparatus for creating virtual machine
JP6834033B2 (en) Network slice management methods, units, and systems
US20190230004A1 (en) Network slice management method and management unit
RU2640724C1 (en) Method of troubleshooting process, device and system based on virtualization of network functions
US20200359226A1 (en) Network Slice Management Method, Management Unit, and System
US20220004410A1 (en) Method For Deploying Virtual Machine And Container, And Related Apparatus
US9465641B2 (en) Selecting cloud computing resource based on fault tolerance and network efficiency
CN107251486B (en) Method, device and system for expanding linkage
WO2018072612A1 (en) Method for managing slice instance and apparatus
US11088924B2 (en) Network management method, device, and system
CN108132827B (en) Network slice resource mapping method, related equipment and system
CN106031116A (en) Method, apparatus and system for associating NS with VNF
WO2018171392A1 (en) Method for virtual machine capacity expansion and reduction and virtual management device
CN108345490B (en) Method and system for deploying virtual machine in NFV
WO2017070963A1 (en) Method, apparatus, and system for deploying virtual resources
EP3806389A1 (en) Virtual subnet constructing method and device, and storage medium
CN107534678B (en) Method, device and system for establishing connection between VNFM and VIM
CN113918268A (en) Multi-tenant management method and device
CN107615872B (en) Method, device and system for releasing connection
WO2016041202A1 (en) Deployment method and apparatus based on cloud environment system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15907024

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15907024

Country of ref document: EP

Kind code of ref document: A1