WO2017075796A1 - 网络功能虚拟化nfv网络中分配虚拟资源的方法和装置 - Google Patents

网络功能虚拟化nfv网络中分配虚拟资源的方法和装置 Download PDF

Info

Publication number
WO2017075796A1
WO2017075796A1 PCT/CN2015/093947 CN2015093947W WO2017075796A1 WO 2017075796 A1 WO2017075796 A1 WO 2017075796A1 CN 2015093947 W CN2015093947 W CN 2015093947W WO 2017075796 A1 WO2017075796 A1 WO 2017075796A1
Authority
WO
WIPO (PCT)
Prior art keywords
virtual resource
unit
priority
resource request
request message
Prior art date
Application number
PCT/CN2015/093947
Other languages
English (en)
French (fr)
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 CN201580083041.4A priority Critical patent/CN108028806B/zh
Priority to PCT/CN2015/093947 priority patent/WO2017075796A1/zh
Priority to EP15907638.9A priority patent/EP3358795B1/en
Publication of WO2017075796A1 publication Critical patent/WO2017075796A1/zh
Priority to US15/965,707 priority patent/US20180246772A1/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]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5077Logical partitioning of resources; Management or configuration of virtualized resources
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • 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]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45579I/O management, e.g. providing access to device drivers or storage
    • 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/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • H04L47/781Centralised allocation of resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/82Miscellaneous aspects
    • H04L47/821Prioritising resource allocation or reservation requests

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and apparatus for allocating virtual resources in a network function virtualization NFV network.
  • NFV Network Functions Virtualization
  • a virtual machine generally uses a virtual network adapter, a virtual switch, and a physical network port of a server connected to the in-rack switch or the top-of-rack switch to perform data communication with the outside of the server.
  • NFV technology By borrowing the virtualization technology of Information Technology (IT), NFV technology enables many types of network devices to be incorporated into industry standards. For example, services, switching, storage, etc. can be deployed in data centers or network nodes. Implement various network functions in software, run on industry-standard servers, and migrate, instantiate, redeploy, etc. as needed, without the need to install new devices, ie create virtual network functions (Virtualized Network Function, referred to as "VNF").
  • VNF Virtualized Network Function
  • a network service (“NS”) can be implemented between multiple virtual network functions.
  • the resource request here may be a resource renter that rents the operator resource, for example, a resource request sent by the virtual operator, and may be sent by a functional unit having a allocated resource, such as a VNFM unit.
  • the NFVO unit can also be sent for a resource function unit that needs to be applied for, for example, an NS unit, a VNF unit.
  • the corresponding functional unit can consider one of the above categories, and can also consider multiple types, and the functional units to be considered by different network elements are also different.
  • the existing resource NFV network architecture treats resource requests sent by different functional units equally, and in this case, the resource usage efficiency is low.
  • the invention provides a method and a device for allocating virtual resources in a network function virtualization NFV network, which can improve resource utilization efficiency.
  • a method for allocating virtual resources in an NFV network comprising: the virtualized infrastructure manager VIM receiving a plurality of virtual resource request messages, each of the plurality of virtual resource request messages The message includes identification information, where the identifier information indicates at least one virtual resource usage unit, where the virtual resource request message is used to request a virtual resource for the at least one virtual resource usage unit indicated by the identifier information; the VIM is according to a preset rule and the Identifying information, determining a priority of each virtual resource request message; the VIM performs resource allocation according to a priority of each virtual resource request message.
  • the method further includes: the identifier information indicating an arrangement combination of the at least one virtual resource usage unit.
  • the preset rule is a correspondence between an arrangement and a priority of the at least one virtual resource usage unit
  • the VIM is according to a preset rule. And determining the priority of each virtual resource request message, and the VIM determines the priority of each virtual resource request message according to the priority of the arrangement and combination of the at least one virtual resource usage unit.
  • the preset rule is priority information of each virtual resource usage unit in the at least one virtual resource usage unit, where the VIM is based on a pre-
  • the determining the priority of each virtual resource request message by using the rule and the identifier information includes: determining, by the VIM, the priority of each virtual resource request message according to the priority information of the at least one virtual resource usage unit.
  • the method further includes: the VIM receiving the preset rule sent by the virtual network function scheduling NFVO unit or the virtual network function management VNFM unit.
  • the VIM performs resource allocation according to the priority of each virtual resource request message, including: the VIM priority is a high priority
  • the virtual resource request message allocates a virtual resource.
  • the at least one virtual resource usage unit includes: a network service NS unit, and a virtual network function VNF The unit, the NS unit uses at least one of a user, an NFVO unit, and a VNFM unit.
  • a second aspect provides a method for allocating virtual resources in an NFV network, the method comprising: the target virtual resource requesting unit receiving a virtual resource request message, where the virtual resource request message includes identification information, where the identifier information indicates at least one virtual resource usage. a unit, the virtual resource request message is used to request a virtual resource for the at least one virtual resource usage unit indicated by the identifier information; the target virtual resource requesting unit determines a priority of the virtual resource request message according to the preset rule and the identifier information The target virtual resource requesting unit sends a target virtual resource request message to the virtualized infrastructure manager VIM, where the target virtual resource request message is a priority of the virtual resource request message according to the virtual resource request message and the virtual resource request message. Determining, the target virtual resource request message is used by the VIM to perform resource allocation according to the priority of the virtual resource request message.
  • the identification information represents an arrangement combination of the at least one virtual resource usage unit.
  • the preset rule is a correspondence between an arrangement and a combination of the at least one virtual resource usage unit and a priority
  • the target virtual resource request unit Determining the priority of the virtual resource request message according to the preset rule and the identifier information, including: the target virtual resource requesting unit determining the virtual resource request message according to the priority of the arrangement and combination of the at least one virtual resource using unit Priority.
  • the preset rule is priority information of each virtual resource usage unit in the at least one virtual resource usage unit
  • the target virtual resource Determining the priority of the virtual resource request message according to the preset rule and the identifier information
  • the method includes: determining, by the target virtual resource requesting unit, the virtual resource request message according to the priority information of the at least one virtual resource using unit Priority.
  • the method further includes: the target virtual resource requesting unit receiving the virtual network function scheduling NFVO unit or the virtual network function management VNFM unit, Preset rules.
  • the at least one virtual resource usage unit includes: a network service NS unit, a virtual network function VNF unit, an NS unit use user, an NFVO unit, and At least one of the VNFM units.
  • a virtualized infrastructure manager VIM for allocating virtual resources in a network function virtualization NFV network for performing any of the foregoing first aspect or the first aspect.
  • the apparatus comprises means for performing the method of any of the above-described first aspect or any of the possible implementations of the first aspect.
  • a fourth aspect provides a virtual resource requesting unit for allocating virtual resources in a network function virtualization NFV network, for performing the method in any of the foregoing second aspect or the second aspect.
  • the apparatus comprises means for performing the method of any of the above-described second aspect or any of the possible implementations of the second aspect.
  • a fifth aspect provides a network function virtualization virtualized infrastructure manager VIM for allocating virtual resources in an NFV network, comprising: a storage unit and a processor, the storage unit is configured to store an instruction, and the processor is configured to execute the memory The stored instructions, and when the processor executes the instructions stored by the memory, the execution causes the processor to perform the method of the first aspect or any of the possible implementations of the first aspect.
  • a sixth aspect provides a virtual resource request unit for allocating virtual resources in a network function virtualization NFV network, including: a storage unit and a processor, where the storage unit is configured to store an instruction, and the processor is configured to execute the instruction stored in the memory. And when the processor executes the instructions stored by the memory, the executing causes the processor to perform the method of any of the possible implementations of the second aspect or the second aspect.
  • a seventh aspect a computer readable medium for storing a computer program, the computer program comprising instructions for performing the method of the first aspect or any of the possible implementations of the first aspect.
  • a computer readable medium for storing a computer program comprising instructions for performing the method of the second aspect or any of the possible implementations of the second aspect.
  • the network function of the embodiment of the present invention virtualizes a method and a device for allocating a virtual resource in an NFV network, and the VIM is configured according to the identifier information carried in each virtual resource request message in the plurality of virtual resource request messages received by the VIM.
  • the rule determines the priority information of each virtual resource request message, allocates resources for the virtual resource request message in order according to the priority, thereby improving the efficiency and flexibility of resource use, and considering different resources when concurrently processing the resource request
  • the priority of the request message can avoid the phenomenon of resource competition, improve the stability and reliability of the system, and respond faster and more effectively to certain emergency situations.
  • FIG. 1 is a schematic diagram of an NFV network architecture in accordance with an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a method for allocating virtual resources in an NFV network according to an embodiment of the present invention.
  • FIG. 3 is another schematic flowchart of a method for allocating virtual resources in an NFV network according to an embodiment of the present invention.
  • FIG. 4 is a schematic block diagram of a VIM for allocating virtual resources in an NFV network according to an embodiment of the present invention.
  • FIG. 5 is a schematic block diagram of a virtual resource requesting unit that allocates virtual resources in an NFV network according to an embodiment of the present invention.
  • FIG. 6 is a schematic block diagram of a VIM for allocating virtual resources in an NFV network according to another embodiment of the present invention.
  • FIG. 7 is a schematic block diagram of a virtual resource requesting unit that allocates virtual resources in an NFV network according to another embodiment of the present invention.
  • the NFV network there may be one or more VIMs, or multiple VIMs may be cascaded, and unified management by one controller VIM, that is, all NFVO/VNFMs are Can be connected to this controller VIM.
  • an NFV network may have one or more NFVOs, each NFVO may be connected to one or more VNFMs, one VNFM manages one or more VNFs, one NFVO manages one or more NS units, and one NS unit may include One or more VNFs, and each NS may use a user corresponding to one or more NS units, where the NS unit uses a user to refer to a resource renter that rents an operator resource, such as a virtual operator.
  • the resource requesting unit sends or forwards a virtual resource request message for allocating a virtual resource to the VIM request, the virtual resource requesting unit being a functional unit having a virtual resource allocated, such as a VNFM unit and an NFVO unit; the virtual resource request
  • the direct or indirect user of the virtual resource of the information request is a virtual resource use unit, which is a virtual resource functional unit, such as an NS unit and a VNF unit, optionally, the virtual resource usage unit may also be a VNFM.
  • the unit and the NFVO unit, that is, the VNFM unit and the NFVO unit are regarded as units using virtual resources, but the present invention is not limited thereto.
  • the NS unit when the NS unit uses the user to make a virtual resource request, the NS unit may be requested to be established or the existing NS unit may be extended; or the virtual resource requesting unit NFVO unit performs a virtual resource request, requesting to establish an NS unit or To extend an existing NS unit, a virtual resource request can be made to the VIM through the NFVO unit, or a virtual resource request can be made to the VIM through the virtual resource request unit, the NFVO unit, and the VNFM unit.
  • the VNFM unit may also request a virtual resource from the VIM, such as requesting to establish a VNF unit or extending an existing VNF unit, that is, the VNFM unit may directly send a virtual resource request information message to the VIM, request to establish a VNF unit or extend an existing VNF. unit.
  • the VIM allocates the virtual resource according to the received virtual resource request information, and sends the allocated virtual resource to the virtual resource request unit.
  • the VIM sends the virtual resource to the VNFM unit, and the VNFM can allocate the virtual resource to the VNF unit.
  • the VNF unit formed by the virtual resource may be further allocated to the NFVO unit by the VNFM unit, so as to establish an NS unit or extend an existing NS unit, and the present invention is not limited thereto.
  • an embodiment of the present invention proposes a method for allocating virtual resources in the NFV network.
  • FIG. 2 shows a schematic flow diagram of a method 100 of allocating resources in an NFV network, which may be performed by a virtualized infrastructure manager VIM, in accordance with an embodiment of the present invention. As shown in FIG. 2, the method 100 includes:
  • the virtualization infrastructure manager VIM receives a plurality of virtual resource request messages, where each virtual resource request message includes identification information, where the identification information represents at least one virtual resource usage unit, where each The virtual resource request message is configured to request a virtual resource for the at least one virtual resource usage unit represented by the identifier information;
  • the VIM determines a priority of each virtual resource request message according to the preset rule and the identifier information.
  • the VIM performs resource allocation according to a priority of each virtual resource request message.
  • the VIM may receive multiple virtual resource request messages, where each virtual resource request message is used to request allocation of a virtual resource, and the virtual resource request message may include identification information, where the identifier information may represent At least one virtual resource usage unit, the at least one virtual resource usage unit is configured to directly or indirectly use the virtual resource request message to request the virtual resource, for example, the virtual resource usage unit may use the user, the NS unit, the VNF unit, and the NFVO for the NS unit Unit or VNFM unit.
  • the VIM may determine the priority of each virtual resource request message according to the identifier information included in the received multiple virtual resource request messages, and specifically, at least one virtuality that may be represented by the VIM according to the identifier information in the virtual resource request message.
  • the resource usage unit determines the priority information of the virtual resource request message according to a preset rule sent by the management entity to the VIM.
  • the VIM may separately allocate virtual resources for multiple virtual resource request messages according to the priority information of each virtual resource request message.
  • the VIM determines each virtual resource request message according to the preset rule according to the identifier information carried in each virtual resource request message in the received multiple virtual resource request messages.
  • the priority information according to the priority, allocates resources for the virtual resource request message in order, thereby improving the efficiency and flexibility of resource use when concurrently processing the resource request, and considering the priority of different resource request messages, the resources can be avoided.
  • the phenomenon of competition improve the stability and reliability of the system, and respond faster and more effectively to certain emergency situations.
  • the VIM receives a plurality of virtual resource request messages, where each virtual resource request message includes identification information, where the identifier information represents at least one virtual resource usage unit, and each virtual resource request message is used by the VIM
  • the virtual resource is requested by the at least one virtual resource usage unit indicated by the identifier information, that is, the at least one virtual resource usage unit may be used to directly or indirectly use the virtual resource requested by the virtual resource request message.
  • the VIM may receive the virtual resource request message sent by the virtual resource requesting unit, where the virtual resource requesting unit may be a VNFM unit or an NFVO unit, and the VNFM unit or the NFVO unit may be directly connected to the VIM; the virtual resource request message is used to request the virtual a resource, the at least one virtual resource usage unit may directly or indirectly use the requested virtual resource, and the virtual resource request message is sent or forwarded by at least one virtual resource requesting unit, optionally, the at least one virtual resource is used.
  • the unit may be at least one of an NS unit, a user of the NS unit, and a VNF unit, or may be a VNFM unit or an NFVO unit.
  • the VIM may receive a virtual resource request message sent by the NFVO unit, where the virtual resource request message is sent by the user of the NS unit to the NFVO unit, to request to create a new NS unit, the NS unit.
  • the NFVO unit may be configured to forward the virtual resource request message to the VIM, so that the VIM allocates resources according to the virtual resource request message to form a VNF unit, thereby forming an NS unit, where the NFVO unit is a virtual resource request.
  • a unit may also belong to a virtual resource usage unit; and a user, an NS unit, and a VNF unit used by the NS unit are virtual resource usage units.
  • the VIM receives the virtual resource request message and may include the identifier information, where the identifier information may represent at least one of the virtual resource usage units, for example, may include all the virtual resource usage units, that is, the identifier information may represent the NFVO unit, the NS.
  • the user, the NS unit, and the VNF unit used by the unit may also include only some of the virtual resource usage units described above, that is, the identification information may only represent the NS unit and the VNF unit, and the present invention is not limited thereto.
  • the NFVO unit herein may also forward the virtual resource request message to the VIM through the VNFM unit, and the VNFM unit may also belong to the virtual resource using unit, and the present invention is not limited thereto.
  • the VIM may further receive any VNFM, such as the first VNFM, and send the first virtual resource request message, where the first virtual resource request message may be sent by the VNFM unit to the VIM.
  • the VIM may allocate a virtual resource to the first VNFM according to the virtual resource request message, so that the first VNFM unit uses the virtual resource to establish a new VNF unit, where the virtual
  • the resource requesting unit is a first VNFM unit, and the virtual resource using unit includes a first NS unit and a VNF unit, and may also include a first VNFM unit.
  • the VIM receives the first virtual resource request message, which may include the identifier information, where the identifier information indicates at least one of the virtual resource usage units, for example, may include all the virtual resource usage units, that is, the identifier information may represent the first VNFM.
  • the unit, the first NS unit, and the VNF unit may also include only some of the virtual resource usage units described above.
  • the identification information may only represent the first NS unit and the VNF unit, and the present invention is not limited thereto.
  • the VIM may further receive another virtual resource request message sent by the first VNFM unit, that is, a second virtual resource request message, where the second virtual resource request message may be the first
  • the VNFM unit sends to the VIM for the request to be the second
  • the NS unit creates a VNF unit, and the VIM can allocate a virtual resource to the first VNFM according to the second virtual resource request message, so that the first VNFM unit uses the virtual resource to establish a new VNF unit, where the virtual resource request unit is
  • the virtual resource usage unit includes a second NS unit and a VNF unit, and may also include a first VNFM unit.
  • the second resource request message is different from the first resource request message that also passes through the first VNFM. .
  • each of the plurality of resource request messages received by the VIM includes identification information, and the identifier information may represent at least one virtual resource usage unit.
  • the identifier information may be an identifier ID, and the ID may be used to represent multiple virtual resource usage units; the identifier information may also be multiple identifier IDs, and each ID corresponds to one virtual resource usage unit, and the present invention does not Limited to this.
  • each resource request message may include identifier information, where the identifier information indicates at least one virtual resource usage unit, and the VIM may determine, according to the identifier information, each resource request message according to a preset rule sent by the management entity.
  • a priority wherein the preset rule may determine, according to the priority of each unit in the at least one virtual resource usage unit, the priority of each unit, and determine the priority according to the priority of the one or more units.
  • the priority of the virtual resource request message; the priority of the resource request message may be determined according to the correspondence between the overall arrangement and the priority of the at least one virtual resource usage unit.
  • the VIM may determine the priority information of each virtual resource request message according to the preset rule according to the identifier information in each virtual resource request message.
  • the VIM may receive a preset rule sent by the management entity, where the management entity may be an operations support system ("OSS"), an element management system (“EMS”), and The NFVO unit or the like, the present invention is not limited thereto.
  • the preset rule sent by the management entity to the VIM may include a priority type, for example, the priority type may include a general priority and a VIP priority.
  • the common priority may be the basic attribute of the request message for each virtual resource, and the order of the resources is allocated to the virtual resource request message. There is no resource preemption, that is, the normal priority can only indicate the order of the allocation. And the high priority can indicate the points
  • the resource allocation of the other virtual resource request information that the VIM is processing may be interrupted, and the resource request corresponding to the advanced priority may be preferentially responded to, and the privilege of preempting the resource may be reserved.
  • the advanced priority is an optional attribute, and the management entity can configure the advanced priority for the specific special virtual resource request message, and send the configuration result to the VIM as a preset rule.
  • the preset rule sent by the management entity to the VIM may include determining priority information of the virtual resource request message according to a priority of each unit in the at least one virtual resource usage unit indicated in the identifier information.
  • the VIM receives at least one virtual resource request message, where each virtual resource request message includes identification information, where the identifier information indicates at least one virtual resource usage unit, and the VIM may sequentially according to priority of one or more units in the identification information. Determine the priority of the virtual resource request message.
  • the identifier information included in the virtual resource request message received by the VIM indicates the user, the NS unit, and the VNF unit of the NS unit, and one of the options may be selected according to a preset rule.
  • the priority of the user of the NS unit can be compared first, and the priority of the virtual resource request message is determined according to the priority of the user of the NS unit, for example, the unit indicated by the identifier information of the first virtual resource request message received by the VIM.
  • the unit indicated by the identifier information of the second resource request message includes the identifier of the user of the second NS unit, and according to the preset rule, the user of the first NS unit has a higher priority than the first user.
  • the second NS unit uses the priority of the user, and the VIM may determine that the priority of the first virtual resource request message is higher than the priority of the second virtual resource request message.
  • the priority of the NS unit may be compared according to the preset rule. Determining, according to the priority of the NS, the priority of the at least two virtual resource request messages, for example, the unit indicated by the identifier information of the first virtual resource request message received by the VIM includes the user of the first NS unit and the first NS unit, The second virtual resource request message includes the user of the first NS unit and the second NS unit. According to a preset rule, the priority of the first NS unit is higher than the priority of the second NS unit, and the VIM may determine the first virtual resource request. The priority of the message is higher than the priority of the second virtual resource request message.
  • the VIM may determine that the priority of the first virtual resource request message is higher than the priority of the second virtual resource request message.
  • the order of comparing the priorities may be determined according to a preset rule, for example, which one of the user, the NS unit, and the VNF unit of the NS unit indicated by the identifier information indicated in the resource request message received by the VIM is compared first.
  • the priority of the unit may be specified in a preset rule, but the present invention is not limited thereto.
  • the preset rule may further include a priority of the identifier information, that is, determining a virtual resource according to a priority combination of the arrangement of the units indicated in the identifier information.
  • the priority of the request message Specifically, for example, the user 2, the NS unit 1 and the NS unit 2, the VNFM unit 1 and the VNFM unit 2, and the NFVO unit 1 using the user 1 and the NS unit of the NS unit in the NFV architecture, respectively, are received when the VIM receives
  • each virtual resource request message includes identification information
  • each identifier information may represent a user of the NS unit, an NS unit, and a VNFM unit.
  • the priority of the combination of the user, the NS unit, and the VNFM unit of the various NS units may be specified.
  • the unit indicated by the identifier information included in the virtual resource request message 1 is ⁇ NFV Service User1, NS2, VNFM1 ⁇
  • the unit indicated by the identifier information included in the resource request message 2 is ⁇ NFV Service User1, NS2, VNFM2 ⁇
  • there are 8 kinds of virtual resource request messages corresponding to 8 combinations and the preset rule may indicate the 8 combinations.
  • Priority order is ⁇ NFV Service User1, NS2, VNFM1 ⁇
  • the unit indicated by the identifier information included in the resource request message 2 is ⁇ NFV Service User1, NS2, VNFM2 ⁇
  • the VIM When the VIM receives the at least two virtual resource request messages, the combination of the units indicated by the identifier information included in the virtual resource request message is one of the foregoing eight types, and the VIM may determine each according to the preset rule.
  • the priority of the resource request message is processed according to the priority order specified by the preset rule, and the resource is allocated for the at least two virtual resource request messages.
  • the priority of ⁇ NFV Service User1, NS2, VNFM1 ⁇ is higher than the priority of ⁇ NFV Service User1, NS2, VNFM2 ⁇ , and the resource including the identification information of ⁇ NFV Service User1, NS2, VNFM1 ⁇
  • the priority of the request message is greater than the priority of the resource request message including the identification information of ⁇ NFV Service User1, NS2, VNFM2 ⁇ .
  • the preset rule sent by the management entity may further include:
  • the priority of the virtual resource request message of the identification information is a high priority, that is, the virtual resource request message is preferentially processed, and resources of other resource request messages can be preempted.
  • the preset rule may specify that when the unit indicated by the identifier information included in the virtual resource request message is ⁇ NFV Service User1, NS2, VNFM2 ⁇ , the virtual resource request message is a high priority, and the VIM receives the After identifying the virtual resource request message of the information, the virtual resource request message can be determined as a high priority.
  • the virtual resource request message may be preferentially processed, and the resource being allocated may be suspended first, the resource request message of the advanced priority is processed first, and the virtual resource that has been allocated or reserved for other resource request messages but not used yet may be used.
  • the virtual resource request message assigned to the high priority, the present invention is not limited thereto.
  • the VIM performs resource allocation according to the priority information of each virtual resource request message, and allocates resources corresponding to each virtual resource request message. Specifically, for example, when the VIM receives two virtual resource request messages, which may be referred to as a third virtual resource request message and a fourth virtual resource request message, respectively, if the third virtual resource request message is determined to have a higher priority than the fourth When the priority of the virtual resource request message is prioritized, the resource corresponding to the third virtual resource request message is preferentially allocated.
  • the resources are separately allocated for each virtual resource request message according to the priority order.
  • the priority information of the third virtual resource request message and the fourth virtual source request message are both normal priorities, and the priority of the third virtual resource request message is higher than the priority of the fourth virtual resource request message. Then, the VIM first allocates a corresponding resource for the third virtual resource request message, and then allocates a resource for the fourth virtual resource request message.
  • resources are preferentially allocated for the virtual resource request message with the advanced priority, and other units may be preempted. resource of. Specifically, if the third virtual resource request message received by the VIM has a higher priority than the received fourth virtual resource request message, and the priority information of the third virtual resource request message indicates that the device has a high priority, and the fourth The virtual resource request message has a normal priority, and the VIM preferentially processes the resource request of the third virtual resource request message, and then processes the fourth virtual resource request message.
  • the device may pause. Allocating resources for the fourth virtual resource request message, first allocating resources for the third virtual resource request message, and then allocating resources for the fourth virtual resource request message.
  • the VIM may allocate the unused virtual resource that has been allocated or reserved to the fourth virtual resource request message to the third virtual resource request message.
  • the VIM may further send indication information, where the indication information is used to indicate a result of the VIM allocating resources for the virtual resource request message.
  • the virtual resource request unit corresponding to the virtual resource request message may send indication information, where the indication information indicates a result of the VIM allocation, or the virtual resource request message
  • the virtual resource requesting unit corresponding to the virtual resource request message sends the indication information, where the indication information may indicate the information of the resource preemption, for example, preempting the resource. Units, units that are preempted, and other related information.
  • the resource allocated by the VIM to the third virtual resource request message is the resource requested by the fourth virtual resource request information
  • the VIM may send the indication information to the virtual resource requesting unit that the fourth virtual resource request message passes, and the indication information is used to indicate The resource requested by the fourth virtual resource request message is preempted by the third virtual resource request message.
  • the indication information may further include other information about resource preemption, and the present invention is not limited thereto.
  • the VIM determines each virtual resource request message according to the preset rule according to the identifier information carried in each virtual resource request message in the received multiple virtual resource request messages.
  • the priority information according to the priority, allocates resources for the virtual resource request message in order, thereby improving the efficiency and flexibility of resource use when concurrently processing the resource request, and considering the priority of different resource request messages, the resources can be avoided.
  • the phenomenon of competition improve the stability and reliability of the system, and respond faster and more effectively to certain emergency situations.
  • FIG. 3 is a schematic flowchart of a method 200 for allocating virtual resources in an NFV network according to an embodiment of the present invention.
  • the method 200 may be performed by a virtual resource requesting unit, which may be an NFVO unit or a VNFM unit. Both the NFVO unit or the VNFM unit can be directly connected to the VIM. As shown in FIG. 3, the method 200 includes:
  • the target virtual resource requesting unit receives a virtual resource request message, where the virtual resource request message includes identification information, where the identifier information indicates at least one virtual resource usage unit, where the virtual resource request message is used for the at least one virtual
  • the resource usage unit requests a virtual resource
  • the target virtual resource requesting unit determines a priority of the virtual resource request message according to the preset rule and the identifier information.
  • the target virtual resource requesting unit sends a target virtual resource request message to the virtualized infrastructure manager VIM, where the target virtual resource request message is prioritized by the target virtual resource requesting unit according to the virtual resource request message and the virtual resource request message.
  • the level determines that the target virtual resource request message is used by the VIM to perform resource allocation according to the priority of the virtual resource request message.
  • the target virtual resource requesting unit determines the priority of each virtual resource request message according to the preset rule according to the identifier information carried in the received multiple virtual resource request messages. Level information, and send a resource request message including the priority information to the VIM, so that the VIM allocates resources according to the priority of the virtual resource request message, thereby improving the efficiency and flexibility of resource use when concurrently processing resource requests. And considering the priority of different resource request messages, the phenomenon of resource competition can be avoided, the stability and reliability of the system can be improved, and the response to some emergency situations is faster and more effective.
  • the target virtual resource requesting unit receives a virtual resource request message, where the virtual resource request message includes identification information indicating at least one virtual resource usage unit, the virtual resource request message being used for the at least one represented by the identification information
  • the virtual resource usage unit requests the virtual resource, that is, the at least one virtual resource usage unit may be used to directly or indirectly use the virtual resource requesting the virtual resource of the message request.
  • the target virtual resource requesting unit may receive one or more virtual resource request messages, where the target virtual resource requesting unit may be a VNFM unit or an NFVO unit, and the VNFM unit or the NFVO unit may be directly connected to the VIM, and each virtual resource request message may be After being sent or forwarded by multiple virtual resource requesting units, for example, the virtual resource request message may be forwarded by the NFVO unit to the VNFM unit, and then forwarded by the VNFM unit to the VIM.
  • the virtual resource request message received by the target virtual resource requesting unit includes identifier information, where the identifier information may represent at least one virtual resource using unit, where the target virtual resource requesting unit is configured to send or forward the virtual a resource request message; the at least one virtual resource usage unit is configured to directly or indirectly use the resource requested by the virtual resource request message.
  • the target virtual resource requesting unit may be an NFVO unit, where the NFVO unit receives a virtual resource request message, where the resource request message is sent by the user of the NS unit to the NFVO unit, for requesting New NS unit, the NS unit can be The NFVO unit is configured to forward the virtual resource request message to the VIM, so that the VIM allocates resources according to the virtual resource request message to form a VNF unit, thereby forming an NS unit, where the NFVO unit is the target virtual resource.
  • the request unit, the user used by the NS unit, the NS unit, and the VNF unit are virtual resource usage units, and the NFVO unit can also be regarded as a virtual resource usage unit.
  • the target virtual resource requesting unit NFVO unit may include the identifier information in the virtual resource request message, where the identifier information indicates at least one of the virtual resource using units, for example, may include all the virtual resource using units, that is, the identifier information may be The NFVO unit, the NS unit, and the VNF unit are used; the partial virtual resource usage unit may be included, that is, the identification information may only represent the NS unit and the VNF unit, and the present invention is not limited thereto.
  • the NFVO unit may further forward the virtual resource request message to the VIM through the VNFM unit, where the VNFM is a target virtual resource requesting unit that receives the virtual resource request message, where the VNFM unit also belongs to the virtual resource using unit. That is, the identification information can also be indicated, and the present invention is not limited thereto.
  • the target virtual resource requesting unit may further be a first VNFM unit, where the first VNFM unit receives a first virtual resource request message, where the first resource request message may be generated by a VNFM unit. And sending the VNF unit to the first NS unit, the VIM may allocate a virtual resource to the first VNFM according to the virtual resource request message, so that the first VNFM unit uses the virtual resource to establish a new VNF.
  • the first VNFM unit may include the identifier information in the first virtual resource request message, where the identifier information indicates at least one of the at least one virtual resource usage unit that includes the first VNFM unit, for example, may include all the foregoing virtual resources.
  • the use unit, that is, the identification information may represent the first VNFM unit, the first NS unit, and the VNF unit; or may include only the foregoing partial virtual resource usage unit, for example, the identification information may only represent the first NS unit and the VNF unit, The invention is not limited to this.
  • the target virtual resource requesting unit is still the first VNFM unit, and the first VNFM unit receives a second virtual resource request message, where the second virtual resource request message may be the first A VNFM unit sends a VNF unit to the VEM, and the VIM can allocate a virtual resource to the first VNFM according to the second virtual resource request message, so that the first VNFM unit uses the virtual resource.
  • the target virtual resource request unit is a VNFM unit
  • the virtual resource usage unit is a second NS unit and a VNF unit, and may also include a first VNFM unit.
  • the second virtual resource request message is different from the first virtual resource request message.
  • each resource request message received by the target virtual resource requesting unit includes identification information, and the identifier information may represent at least one virtual resource using unit.
  • the identifier information may be an identifier ID, and the ID may be used to represent multiple virtual resource usage units; the identifier information may also be multiple identifier IDs, and each ID corresponds to one virtual resource usage unit, and the present invention does not Limited to this.
  • each resource request message may include identifier information, where the identifier information indicates at least one virtual resource usage unit, and the target virtual resource requesting unit may determine, according to the identifier information, each preset according to a preset rule sent by the management entity.
  • the priority of the resource request message wherein the preset rule may sequentially determine the priority of each unit according to the priority of each unit in the at least one virtual resource usage unit indicated by the identification information, according to one or more of the units
  • the priority of the unit is determined, and the priority of the resource request message is determined.
  • the priority of the resource request message may be determined according to the correspondence between the arrangement and the priority of the at least one virtual resource usage unit.
  • the target virtual resource requesting unit may receive a preset rule sent by the management entity, where the management entity may be an OSS, an EMS, an NFVO unit, or the like, and the present invention is not limited thereto.
  • the preset rule sent by the management entity to the target virtual resource requesting unit may include a priority type, for example, the priority type may include a general priority and a VIP priority.
  • the normal priority may be a basic attribute of each virtual resource request message, and the order in which the virtual resource request message is allocated resources, that is, the target virtual resource requesting unit determines the priority, and after the priority is sent to the VIM, the VIM may be based on the VIM.
  • the common priority order allocates resources without the situation of resource preemption, that is, the normal priority can only indicate the order of allocation.
  • the advanced priority may be used to allocate resources to the resource request message.
  • the resource allocation of other virtual resource request information that the VIM is processing may be interrupted, and the resource corresponding to the advanced priority is preferentially responded to.
  • the request may also have the privilege of preempting the resource, preempting the reserved or allocating to other virtual resource requesting units, or preempting the unused virtual resources that have been allocated to the virtual resource using unit.
  • the advanced The priority is an optional attribute, and the management entity can configure the advanced priority for the specific special virtual resource request message, and send the configuration result as a preset rule to the target virtual resource requesting unit.
  • the preset rule sent by the management entity to the target virtual resource requesting unit may include determining the priority of the virtual resource request message according to the priority of each unit of the at least one virtual resource using unit indicated in the identifier information. Level information. Specifically, the target virtual resource requesting unit receives at least one virtual resource request message, where each virtual resource request message includes identification information, where the identification information represents at least one virtual resource usage unit, and the target virtual resource requesting unit may be according to one of the identification information. Or the priority of multiple units to determine the priority of the virtual resource request message.
  • the target virtual resource requesting unit may be a VNFM unit, and the identifier information in the virtual resource request message received by the target virtual resource requesting unit may represent a user of the NS unit, an NS unit, and a VNF.
  • the unit may select one of the starting rules for comparison according to a preset rule, for example, the priority of the user of the NS unit may be compared first, and the priority of the virtual resource request message may be determined according to the priority of the user of the NS unit, for example, the target virtual
  • the unit indicated by the identifier information included in the first virtual resource request message received by the resource requesting unit includes the user of the first NS unit, and the unit indicated by the identifier information in the second virtual resource request message includes the user of the second NS unit, according to The preset rule, the priority of the user of the first NS unit is higher than the priority of the user of the second NS unit, the virtual resource requesting unit may determine that the priority of the first virtual resource request message is higher than the second virtual resource request The priority of the message.
  • the target virtual resource requesting unit may determine that the priority of the first virtual resource request message is higher than the priority of the second virtual resource request message.
  • the NS units indicated by the identifier information in the at least two virtual request messages are the same in the multiple virtual resource request messages received by the target virtual resource requesting unit, Determining the priority of the at least two virtual resource request messages having the same NS unit according to the priority of the VNF unit, for example, in the first virtual resource request message received by the target virtual resource requesting unit.
  • the unit indicated by the identifier information includes the first NS unit using user, the first NS unit, and the first VNF unit, and the unit indicated by the identifier information in the second virtual resource request message includes the user of the first NS unit, the first NS.
  • the unit and the second VNF unit may determine that the priority of the first resource request message is higher than the second resource request The priority of the message.
  • the order of comparing the priorities may be determined according to a preset rule, for example, the unit indicated by the identifier information in the resource request message received by the virtual resource requesting unit includes the user used by the NS unit.
  • the NS unit and the VNF unit first compare the priority of which one of them, and may be specified in a preset rule, but the present invention is not limited thereto.
  • the preset rule may further include a priority of the identifier information, that is, a priority according to the arrangement and combination of the units indicated in the identifier information.
  • a priority of the identifier information that is, a priority according to the arrangement and combination of the units indicated in the identifier information.
  • the user 2 the NS unit 1 and the NS unit 2, the VNFM unit 1 and the VNFM unit 2, and the NFVO unit 1 using the user 1 and the NS unit of the NS unit in the NFV architecture, respectively, when the virtual resource requests
  • each virtual resource request message includes identification information
  • each identifier information may represent a user of the NS unit, an NS unit, and a VNFM unit.
  • the priority of the combination of the user, the NS unit, and the VNFM unit of the various NS units may be specified.
  • the unit indicated by the identifier information included in the virtual resource request message 1 is ⁇ NFV Service User1, NS2, VNFM1 ⁇
  • the unit indicated by the identifier information included in the resource request message 2 is ⁇ NFV Service User1, NS2, VNFM2 ⁇
  • the target virtual resource requesting unit When the target virtual resource requesting unit receives the at least two virtual resource request messages, the combination of the units indicated by the identification information included in the virtual resource request message is one of the foregoing eight types, and the virtual resource requesting unit is assumed to be a VNFM unit.
  • the priority of each virtual resource request message may be determined according to the preset rule, and the priorities of the at least two virtual resource request messages are determined according to the priority order specified by the preset rule. For example, according to the preset rule, the priority of ⁇ NFV Service User1, NS2, VNFM1 ⁇ is higher than the priority of ⁇ NFV Service User2, NS2, VNFM1 ⁇ , including the virtual information of the identification information of ⁇ NFV Service User1, NS2, VNFM1 ⁇ .
  • Resource The priority of the request message is greater than the priority of the virtual resource request message including the identification information of ⁇ NFV Service User2, NS2, VNFM2 ⁇ .
  • the preset rule sent by the management entity may further include that the priority of the virtual resource request message with the certain identifier information is a high priority, that is, the virtual resource request message is preferentially processed by the VIM, and Resources that can preempt other resource request messages.
  • the preset rule may specify that when the unit indicated by the identifier information included in the virtual resource request message is ⁇ NFV Service User1, NS2, VNFM2 ⁇ , the virtual resource request message is a high priority, and then the target virtual resource request After receiving the virtual resource request message, the unit VNFM2 can determine that the virtual resource request message is a high priority.
  • the target virtual resource requesting unit sends a target virtual resource request message to the VIM, where the target virtual resource request message is determined by the target virtual resource requesting unit according to the priority of the virtual resource request message and the virtual resource request message.
  • the target virtual resource request message is used by the VIM to perform resource allocation according to the priority of the virtual resource request message.
  • the virtual resource requesting unit may determine the target resource request message according to the priority and the resource request information, and send the target resource request message to the VIM, so that the virtual resource requesting unit sends the target resource request message to the VIM.
  • the VIM may acquire the priority of each virtual resource request information and the virtual resource request information, and process the resources requested by the target virtual resource request information in order according to the priority of each virtual resource request message.
  • the target virtual resource requesting unit sends the first target virtual resource request information corresponding to the first virtual resource request message to the VIM, and the second target virtual resource corresponding to the second virtual resource request message.
  • the information is requested, and the priority of the first target virtual resource request message and the second target virtual resource request information is a common priority, and the priority of the first virtual resource request information is higher than the priority of the second virtual resource request message.
  • the VIM may preferentially process the first virtual resource request message according to the priority of the received two resource request messages.
  • the target virtual resource requesting unit sends the first target virtual resource request information corresponding to the first virtual resource request message to the VIM, and the second target virtual corresponding to the second virtual resource request message.
  • the resource request information, and the first virtual resource request message is a high priority, and the priority of the second virtual resource request information is a normal priority, and the VIM can preferentially process the priority according to the received two virtual resource request messages.
  • a virtual resource request message ; and may suspend processing other virtual resource request information; the first virtual resource request message may also preempt resources of other virtual resource request information requests. If VIM is also received at the same time When other resource request messages sent by other virtual resource requesting units are common priorities, the VIM still needs to preferentially process the first virtual resource request message with advanced priority.
  • the first target virtual resource requesting unit sends the first target virtual resource request information corresponding to the first virtual resource request message to the VIM
  • the second target virtual resource requesting unit sends the message to the VIM.
  • the second target virtual resource request information corresponding to the second virtual resource request message, and the priorities of the first virtual resource request message and the second virtual resource request information are both normal priorities, but the priority indication of the first virtual resource request information
  • the first virtual resource request message is a high priority in the normal priority, and the VIM can preferentially process the first resource request messages according to the priority information.
  • the processing sequence may be determined by the VIM according to other conditions, and the present invention is not limited thereto.
  • the target virtual resource requesting unit determines the priority of each virtual resource request message according to the preset rule according to the identifier information carried in the received multiple virtual resource request messages. Level information, and send a resource request message including the priority information to the VIM, so that the VIM allocates resources according to the priority of the virtual resource request message, thereby improving the efficiency and flexibility of resource use when concurrently processing resource requests. And considering the priority of different resource request messages, the phenomenon of resource competition can be avoided, the stability and reliability of the system can be improved, and the response to some emergency situations is faster and more effective.
  • a method for allocating virtual resources in an NFV network according to an embodiment of the present invention is described in detail above with reference to FIG. 1 to FIG. 3, and a virtual resource allocation in an NFV network according to an embodiment of the present invention will be described below with reference to FIG. 4 to FIG. Device.
  • a VIM 300 for allocating virtual resources in an NFV network includes:
  • the receiving module 310 is configured to receive multiple virtual resource request messages, where each virtual resource request message includes identifier information, where the identifier information represents at least one virtual resource usage unit, and each virtual resource request The message is used to request a virtual resource for the at least one virtual resource usage unit represented by the identifier information;
  • a determining module 320 configured to determine a priority of each virtual resource request message according to the preset rule and the identifier information
  • the processing module 330 is configured to perform resource division according to the priority of each virtual resource request message. Match.
  • the VIM that allocates resources in the NFV network determines the priority of each virtual resource request message according to the preset rule according to the identifier information carried in each virtual resource request message in the received multiple virtual resource request messages.
  • Level information according to the priority, allocate resources for the virtual resource request message in order, thereby improving the efficiency and flexibility of resource usage when concurrently processing resource requests, and considering the priority of different resource request messages, thereby avoiding resource competition.
  • Phenomena improve system stability and reliability, and respond faster and more efficiently to certain emergency situations.
  • the identifier information represents an arrangement combination of the at least one virtual resource usage unit.
  • the preset rule is a correspondence between the arrangement and the priority of the at least one virtual resource usage unit
  • the determining module 320 is specifically configured to: determine, according to the priority of the arrangement and combination of the at least one virtual resource usage unit, The priority of each virtual resource request message.
  • the preset rule is the priority information of each virtual resource usage unit in the at least one virtual resource usage unit
  • the determining module 320 is specifically configured to: determine, according to the priority information of the at least one virtual resource usage unit, The priority of each virtual resource request message.
  • the receiving module 310 is further configured to: receive the preset rule sent by the virtual network function scheduling NFVO unit or the virtual network function management VNFM unit.
  • the processing module 330 is specifically configured to: preferentially allocate a virtual resource for a virtual resource request message with a high priority.
  • the at least one virtual resource usage unit includes at least one of a network service NS unit, a virtual network function VNF unit, an NS unit usage user, an NFVO unit, and a VNFM unit.
  • VIM 300 for allocating virtual resources in an NFV network in accordance with an embodiment of the present invention may correspond to performing the method 100 in an embodiment of the present invention, and that the above and other operations and/or functions of the various modules in the VIM 300 are respectively implemented.
  • the corresponding processes of the respective methods in FIG. 2 are not described herein for the sake of brevity.
  • the VIM that allocates resources in the NFV network determines the priority of each virtual resource request message according to the preset rule according to the identifier information carried in each virtual resource request message in the received multiple virtual resource request messages.
  • Level information according to the priority, allocate resources for the virtual resource request message in order, thereby improving the efficiency and flexibility of resource usage when concurrently processing resource requests, and considering the priority of different resource request messages, thereby avoiding resource competition.
  • Phenomena improve system stability and reliability, and respond faster and more efficiently to certain emergency situations.
  • FIG. 5 shows a schematic block diagram of a virtual resource requesting unit 400 for allocating virtual resources in an NFV network, which may be an NFVO unit or a VNFM unit, in accordance with an embodiment of the present invention.
  • the virtual resource requesting unit 400 includes:
  • the receiving module 410 is configured to receive a virtual resource request message, where the virtual resource request message includes identifier information, where the identifier information indicates at least one virtual resource usage unit, where the virtual resource request message is used for the at least one virtual resource represented by the identifier information. Use the unit to request a virtual resource;
  • a determining module 420 configured to determine a priority of the virtual resource request message according to the preset rule and the identifier information
  • the sending module 430 is configured to send a target virtual resource request message to the virtualization infrastructure manager VIM, where the target virtual resource request message is determined by the determining module 420 according to the priority of the virtual resource request message and the virtual resource request message, The target virtual resource request message is used by the VIM to perform resource allocation according to the priority of the virtual resource request message.
  • the virtual resource requesting unit that allocates the virtual resource in the NFV network determines the priority information of each virtual resource request message according to the preset rule according to the identifier information carried in the received multiple virtual resource request messages. And sending a resource request message including the priority information to the VIM, so that the VIM allocates resources for the virtual resource request message in order according to the priority of the virtual resource request message, so that the resource can be improved when the resource request is processed concurrently.
  • the efficiency and flexibility of use, and considering the priority of different resource request messages can avoid the phenomenon of resource competition, improve the stability and reliability of the system, and respond faster and more effectively to certain emergency situations.
  • the identifier information represents an arrangement combination of the at least one virtual resource usage unit.
  • the preset rule is a correspondence between the arrangement and the priority of the at least one virtual resource usage unit
  • the determining module 420 is specifically configured to: determine, according to the priority of the arrangement and combination of the at least one virtual resource usage unit, The priority of each virtual resource request message.
  • the preset rule is the priority information of each virtual resource usage unit in the at least one virtual resource usage unit
  • the determining module 420 is specifically configured to: determine, according to the priority information of the at least one virtual resource usage unit, The priority of each virtual resource request message.
  • the receiving module 410 is further configured to: receive the preset rule sent by the virtual network function scheduling NFVO unit or the virtual network function management VNFM unit.
  • the virtual resource request unit comprises: an NFVO unit or a VNFM unit.
  • the at least one virtual resource usage unit includes at least one of a network service NS unit, a virtual network function VNF unit, an NS unit usage user, an NFVO unit, and a VNFM unit.
  • the virtual resource requesting unit 400 for allocating virtual resources in the NFV network may correspond to performing the method 200 in the embodiment of the present invention, and the above and other operations of the respective modules in the virtual resource requesting unit 400.
  • the functions and/or functions are respectively implemented in order to implement the corresponding processes of the respective methods in FIG. 3, and are not described herein for brevity.
  • the virtual resource requesting unit that allocates the virtual resource in the NFV network determines the priority information of each virtual resource request message according to the preset rule according to the identifier information carried in the received multiple virtual resource request messages. And sending a resource request message including the priority information to the VIM, so that the VIM allocates resources according to the priority of the virtual resource request message, thereby improving efficiency and flexibility of resource use when concurrently processing the resource request, and Considering the priority of different resource request messages, the phenomenon of resource competition can be avoided, the stability and reliability of the system can be improved, and the response to some emergency situations is faster and more effective.
  • the embodiment of the present invention further provides a VIM 500 for allocating virtual resources in an NFV network
  • the receiver 500 includes a processor 510, a memory 520, a transceiver 530, and a bus system 540.
  • the processor 510, the memory 520 and the transceiver 530 are connected by a bus system 540 for storing instructions, and the processor 510 is configured to execute the instructions stored by the memory 520 to control the transceiver 530 to send and receive signals.
  • the transceiver 530 is configured to receive multiple virtual resource request messages, where each virtual resource request message includes identifier information, where the identifier information represents at least one virtual resource usage unit, and each virtual resource The request message is used to request the virtual resource for the at least one virtual resource usage unit indicated by the identifier information; and the processor 510 determines the priority of each virtual resource request message according to the preset rule and the identifier information; The priority of the virtual resource request message is used for resource allocation.
  • the VIM that allocates resources in the NFV network determines the priority of each virtual resource request message according to the preset rule according to the identifier information carried in each virtual resource request message in the received multiple virtual resource request messages.
  • Level information according to the priority, allocate resources for the virtual resource request message in order, thereby improving the efficiency and flexibility of resource usage when concurrently processing resource requests, and considering the priority of different resource request messages, thereby avoiding resource competition. Phenomenon, improve system stability and reliability, respond faster and more to some emergency situations effect.
  • the processor 510 may be a central processing unit (“CPU"), and the processor 510 may also be other general-purpose processors, digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 520 can include read only memory and random access memory and provides instructions and data to the processor 510. A portion of the memory 520 may also include a non-volatile random access memory. For example, the memory 520 can also store information of the device type.
  • the bus system 540 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 540 in the figure.
  • each step of the above method may be completed by an integrated logic circuit of hardware in the processor 510 or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 520, and the processor 510 reads the information in the memory 520 and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • the identifier information indicates an arrangement combination of the at least one virtual resource usage unit.
  • the preset rule is a correspondence between the arrangement and the priority of the at least one virtual resource usage unit
  • the processor 510 is further configured to be combined according to the arrangement of the at least one virtual resource usage unit. Priority, determining the priority of each virtual resource request message.
  • the preset rule is priority information of each virtual resource usage unit in the at least one virtual resource usage unit
  • the processor 510 is further configured to use the priority of the at least one virtual resource usage unit.
  • Level information determining the priority of each virtual resource request message.
  • the transceiver 530 is further configured to receive the preset rule sent by the virtual network function scheduling NFVO unit or the virtual network function management VNFM unit.
  • the processor 510 is further configured to preferentially allocate a virtual resource for the virtual resource request message with high priority.
  • the at least one virtual resource usage unit includes at least one of a network service NS unit, a virtual network function VNF unit, an NS unit usage user, an NFVO unit, and a VNFM unit.
  • VIM 500 for allocating virtual resources in an NFV network may correspond to the VIM 300 in the embodiment of the present invention, and may correspond to executing a corresponding body in the method 100 according to an embodiment of the present invention, and VIM
  • the above and other operations and/or functions of the respective modules in the 500 are respectively implemented in order to implement the corresponding processes of the respective methods in FIG. 2, and are not described herein again for brevity.
  • the VIM that allocates resources in the NFV network determines the priority of each virtual resource request message according to the preset rule according to the identifier information carried in each virtual resource request message in the received multiple virtual resource request messages.
  • Level information according to the priority, allocate resources for the virtual resource request message in order, thereby improving the efficiency and flexibility of resource usage when concurrently processing resource requests, and considering the priority of different resource request messages, thereby avoiding resource competition.
  • Phenomena improve system stability and reliability, and respond faster and more efficiently to certain emergency situations.
  • an embodiment of the present invention further provides a virtual resource requesting unit 600 for allocating virtual resources in an NFV network, where the virtual resource requesting unit 600 includes a processor 610, a memory 620, a transceiver 630, and a bus system 640.
  • the processor 610, the memory 620 and the transceiver 630 are connected by a bus system 640 for storing instructions for executing the instructions stored by the memory 620 to control the transceiver 630 to send and receive signals.
  • the transceiver 630 is configured to receive a virtual resource request message, where the virtual resource request message includes identifier information, where the identifier information indicates at least one virtual resource usage unit, where the virtual resource request message is used for the at least one represented by the identifier information.
  • the virtual resource usage unit requests the virtual resource;
  • the processor 610 is configured to determine the priority of the virtual resource request message according to the preset rule and the identifier information;
  • the transceiver 630 is further configured to send the target to the virtualized infrastructure manager VIM.
  • a virtual resource request message where the target virtual resource request message is determined by the processor 610 according to the priority of the virtual resource request message and the virtual resource request message, where the virtual resource request message is used by the VIM according to the virtual resource request message Priority for resource allocation.
  • the virtual resource requesting unit that allocates the virtual resource in the NFV network according to the embodiment of the present invention, Determining the priority information of each virtual resource request message according to the preset rule according to the preset identifier information, and sending the resource request message including the priority information to the VIM, so as to facilitate the VIM
  • the resources are allocated according to the priority of the virtual resource request message, so that the efficiency and flexibility of resource usage can be improved when the resource request is processed concurrently, and the priority of different resource request messages can be considered, the phenomenon of resource competition can be avoided, and the system is improved. Stability and reliability, faster and more efficient for certain emergency situations.
  • the processor 610 may be a central processing unit ("CPU"), and the processor 610 may also be other general-purpose processors, digital signal processors (DSPs). , an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, and the like.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the memory 620 can include read only memory and random access memory and provides instructions and data to the processor 610. A portion of the memory 620 can also include a non-volatile random access memory. For example, the memory 620 can also store information of the device type.
  • the bus system 640 may include a power bus, a control bus, a status signal bus, and the like in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 640 in the figure.
  • each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 610 or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present invention may be directly implemented as a hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 620, and the processor 610 reads the information in the memory 620 and completes the steps of the above method in combination with its hardware. To avoid repetition, it will not be described in detail here.
  • the virtual resource requesting unit belongs to the N virtual resource requesting units.
  • the identifier information indicates an arrangement combination of the at least one virtual resource usage unit.
  • the preset rule is a correspondence between the arrangement and the priority of the at least one virtual resource usage unit
  • the processor 610 is further configured to combine according to the arrangement of the at least one virtual resource usage unit. Priority, determining the priority of each virtual resource request message level.
  • the preset rule is priority information of each virtual resource usage unit in the at least one virtual resource usage unit
  • the processor 610 is further configured to use the priority of the at least one virtual resource usage unit.
  • Level information determining the priority of each virtual resource request message.
  • the transceiver 630 is further configured to receive the preset rule sent by the virtual network function scheduling NFVO unit or the virtual network function management VNFM unit.
  • the virtual resource requesting unit includes: an NFVO unit or a VNFM unit.
  • the at least one virtual resource usage unit includes at least one of a network service NS unit, a virtual network function VNF unit, an NS unit usage user, an NFVO unit, and a VNFM unit.
  • the virtual resource requesting unit 600 for allocating resources in the NFV network may correspond to the virtual resource requesting unit 400 in the embodiment of the present invention, and may correspond to performing in the method 200 according to the embodiment of the present invention.
  • the above-mentioned and other operations and/or functions of the respective modules in the virtual resource requesting unit 600 are respectively implemented in order to implement the corresponding processes of the respective methods in FIG. 3, and are not described herein again for brevity.
  • the virtual resource requesting unit that allocates the virtual resource in the NFV network determines the priority information of each virtual resource request message according to the preset rule according to the identifier information carried in the received multiple virtual resource request messages. And sending a resource request message including the priority information to the VIM, so that the VIM allocates the virtual resource according to the priority of the virtual resource request message, thereby improving the efficiency and flexibility of resource usage when concurrently processing the resource request. And considering the priority of different resource request messages, the phenomenon of resource competition can be avoided, the stability and reliability of the system can be improved, and the response to some emergency situations is faster and more effective.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or 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, and may be in an electrical, mechanical or other form.
  • 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 functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product.
  • the technical solution of the present invention which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例涉及网络功能虚拟化(NFV)网络中分配虚拟资源的方法和装置。该方法包括虚拟机基础设施管理(VIM)接收多个虚拟资源请求消息,每个虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元;该VIM按照预设规则,根据该标识信息,确定该每个虚拟资源请求消息的优先级;该VIM根据该每个虚拟资源请求消息的优先级进行资源分配。本发明实施例的NFV网络中分配虚拟资源的方法和装置,VIM根据优先级,按优先级顺序为虚拟资源请求消息分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。

Description

网络功能虚拟化NFV网络中分配虚拟资源的方法和装置 技术领域
本发明涉及通信领域,尤其涉及网络功能虚拟化NFV网络中分配虚拟资源的方法和装置。
背景技术
随着云技术的发展,虚拟化技术作为云计算的基础技术,在企业数据中心、大规模集群计算领域得到大规模使用。
网络功能虚拟化(Network Functions Virtualization,简称“NFV”)技术将一台计算机虚拟为多台虚拟逻辑计算机,即虚拟机(Virtual Machine,简称“VM”)。虚拟机一般使用虚拟网卡、虚拟交换机以及连接机框内交换机或者架顶交换机的服务器物理网口,与服务器外部进行数据通信。
NFV技术通过借用信息技术(Information Technology,简称:IT)的虚拟化技术,使得许多类型的网络设备可以合并到工业标准中,例如:服务、交换、存储等可以部署在数据中心或者网络节点中。将各种网络功能以软件方式实现,并能在工业标准的服务器上运行,并还能根据需要进行迁移、实例化、以及重新部署等等,并不需要安装新的设备,即产生虚拟网络功能(Virtualized Network Function,简称“VNF”)。多个虚拟网络功能之间可以实现网络业务(Network Service,简称“NS”)。
在NFV网络架构中,虚拟网络功能调度(NFV Orchestrator,简称“NFVO”)单元、虚拟网络功能管理(VNF Manager,简称“VNFM”)单元或虚拟机基础设施管理(Virtualized Infrastructure Manager,简称“VIM”)都有可能同时收到不同的资源请求,这里的资源请求可以为租用运营商资源的资源租用者,例如虚拟运营商发送的资源请求,可以为具有分配资源的功能单元发送的,例如VNFM单元,NFVO单元,也可以为需要申请资源功能单元发送的,例如NS单元,VNF单元。对于网元来说,对应的功能单元可以考虑以上的某一类,也可以考虑多类,而且不同的网元所要考虑的功能单元也是不同的。
但是,现有的资源NFV网络架构对于不同功能单元发送的资源请求都是同等对待,这种情况下资源使用效率低。
发明内容
本发明提供了一种网络功能虚拟化NFV网络中分配虚拟资源的方法和装置,能够提高资源使用效率。
第一方面,提供了一种NFV网络中分配虚拟资源的方法,该方法包括:虚拟化基础设施管理器VIM接收多个虚拟资源请求消息,该多个虚拟资源请求消息中的每个虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,该每个虚拟资源请求消息用于为该标识信息表示的该至少一个虚拟资源使用单元请求虚拟资源;该VIM根据预设规则以及该标识信息,确定该每个虚拟资源请求消息的优先级;该VIM根据该每个虚拟资源请求消息的优先级进行资源分配。
结合第一方面,在第一方面的一种实现方式中,该方法还包括:该标识信息表示该至少一个虚拟资源使用单元的排列组合。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该预设规则为该至少一个虚拟资源使用单元的排列组合与优先级的对应关系,该VIM根据预设规则以及该标识信息,确定该每个虚拟资源请求消息的优先级,包括:该VIM根据该至少一个虚拟资源使用单元的排列组合的优先级,确定该每个虚拟资源请求消息的优先级。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该预设规则为该至少一个虚拟资源使用单元中每个虚拟资源使用单元的优先级信息,该VIM根据预设规则以及该标识信息,确定该每个虚拟资源请求消息的优先级,包括:该VIM根据该至少一个虚拟资源使用单元的优先级信息,确定该每个虚拟资源请求消息的优先级。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该方法还包括:该VIM接收虚拟网络功能调度NFVO单元或虚拟网络功能管理VNFM单元发送的该预设规则。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该VIM根据该每个虚拟资源请求消息的优先级进行资源分配,包括:该VIM优先为具有高优先级的虚拟资源请求消息分配虚拟资源。
结合第一方面及其上述实现方式,在第一方面的另一种实现方式中,该至少一个虚拟资源使用单元包括:网络服务NS单元、虚拟网络功能VNF 单元、NS单元使用用户、NFVO单元和VNFM单元中的至少一个。
第二方面,提供了一种NFV网络中分配虚拟资源的方法,该方法包括:目标虚拟资源请求单元接收虚拟资源请求消息,该虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,该虚拟资源请求消息用于为该标识信息表示的该至少一个虚拟资源使用单元请求虚拟资源;该目标虚拟资源请求单元根据预设规则以及该标识信息,确定该虚拟资源请求消息的优先级;该目标虚拟资源请求单元向虚拟化基础设施管理器VIM发送目标虚拟资源请求消息,该目标虚拟资源请求消息为该目标虚拟资源请求单元根据该虚拟资源请求消息和该虚拟资源请求消息的优先级确定的,该目标虚拟资源请求消息用于该VIM根据该虚拟资源请求消息的优先级进行资源分配。
结合第二方面,在第二方面的一种实现方式中,该标识信息表示该至少一个虚拟资源使用单元的排列组合。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该预设规则为该至少一个虚拟资源使用单元的排列组合与优先级的对应关系,该目标虚拟资源请求单元根据预设规则以及该标识信息,确定该虚拟资源请求消息的优先级,包括:该目标虚拟资源请求单元根据该至少一个虚拟资源使用单元的排列组合的优先级,确定该每个虚拟资源请求消息的优先级。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该预设规则为该至少一个虚拟资源使用单元中每个虚拟资源使用单元的优先级信息,该目标虚拟资源请求单元根据预设规则以及该标识信息,确定该虚拟资源请求消息的优先级,包括:该目标虚拟资源请求单元根据该至少一个虚拟资源使用单元的优先级信息,确定该每个虚拟资源请求消息的优先级。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该方法还包括:该目标虚拟资源请求单元接收虚拟网络功能调度NFVO单元或虚拟网络功能管理VNFM单元发送的该预设规则。
结合第二方面及其上述实现方式,在第二方面的另一种实现方式中,该至少一个虚拟资源使用单元包括:网络服务NS单元、虚拟网络功能VNF单元、NS单元使用用户、NFVO单元和VNFM单元中的至少一个。
第三方面,提供了一种网络功能虚拟化NFV网络中分配虚拟资源的虚拟化基础设施管理器VIM,用于执行上述第一方面或第一方面的任意可能的 实现方式中的方法。具体地,该装置包括用于执行上述第一方面或第一方面的任意可能的实现方式中的方法的单元。
第四方面,提供了一种网络功能虚拟化NFV网络中分配虚拟资源的虚拟资源请求单元,用于执行上述第二方面或第二方面的任意可能的实现方式中的方法。具体地,该装置包括用于执行上述第二方面或第二方面的任意可能的实现方式中的方法的单元。
第五方面,提供了一种网络功能虚拟化NFV网络中分配虚拟资源的虚拟化基础设施管理器VIM,包括:存储单元和处理器,该存储单元用于存储指令,该处理器用于执行该存储器存储的指令,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第一方面或第一方面的任意可能的实现方式中的方法。
第六方面,提供了一种网络功能虚拟化NFV网络中分配虚拟资源的虚拟资源请求单元,包括:存储单元和处理器,该存储单元用于存储指令,该处理器用于执行该存储器存储的指令,并且当该处理器执行该存储器存储的指令时,该执行使得该处理器执行第二方面或第二方面的任意可能的实现方式中的方法。
第七方面,提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第一方面或第一方面的任意可能的实现方式中的方法的指令。
第八方面,提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行第二方面或第二方面的任意可能的实现方式中的方法的指令。
基于上述技术方案,本发明实施例的网络功能虚拟化NFV网络中分配虚拟资源的方法和装置,VIM根据接收的多个虚拟资源请求消息中每个虚拟资源请求消息携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,根据优先级,按顺序为虚拟资源请求消息分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
附图说明
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例中所需要使用的附图作简单地介绍,显而易见地,下面所描述的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是根据本发明实施例的NFV网络架构的示意图。
图2是根据本发明实施例的NFV网络中分配虚拟资源的方法的示意性流程图。
图3是根据本发明实施例的NFV网络中分配虚拟资源的方法的另一示意性流程图。
图4是根据本发明实施例的NFV网络中分配虚拟资源的VIM的示意性框图。
图5是根据本发明实施例的NFV网络中分配虚拟资源的虚拟资源请求单元的示意性框图。
图6是根据本发明另一实施例的NFV网络中分配虚拟资源的VIM的示意性框图。
图7是根据本发明另一实施例的NFV网络中分配虚拟资源的虚拟资源请求单元的示意性框图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都应属于本发明保护的范围。
在本发明实施例中,如图1所示,对于NFV网络,可以有一个或者多个VIM,也可以是多个VIM进行级联,由一个controller VIM进行统一管理,即所有的NFVO/VNFM都可以和这个controller VIM连接。另外,一个NFV网络中可以有一个或者多个NFVO,每一个NFVO可以和一个或者多个VNFM相连,一个VNFM管理一个或者多个VNF,一个NFVO管理一个或多个NS单元,一个NS单元可以包括一个或多个VNF,而每个NS可以对应一个或多个NS单元使用用户,这里的NS单元使用用户指的是租用运营商资源的资源租用者,例如虚拟运营商。在本发明实施例中,可以通过虚拟 资源请求单元发送或转发虚拟资源请求消息,该虚拟资源请求消息用于向VIM请求分配虚拟资源,该虚拟资源请求单元为具有分配虚拟资源的功能单元,例如VNFM单元和NFVO单元;该虚拟资源请求信息请求的虚拟资源的直接或间接使用者为虚拟资源使用单元,该虚拟资源使用单元为需要申请虚拟资源功能单元,例如NS单元和VNF单元,可选地,该虚拟资源使用单元也可以为VNFM单元和NFVO单元,即将VNFM单元和NFVO单元看作使用虚拟资源的单元,但本发明并不限于此。
在本发明实施例中,例如,当NS单元使用用户进行虚拟资源请求时,可以请求建立NS单元或扩展已有的NS单元;或虚拟资源请求单元NFVO单元进行虚拟资源请求,请求建立NS单元或扩展已有的NS单元,都可以通过NFVO单元向VIM进行虚拟资源请求,或者通过虚拟资源请求单元,NFVO单元以及VNFM单元,向VIM进行虚拟资源请求。又例如,VNFM单元也可以向VIM请求虚拟资源,如请求建立VNF单元或扩展已有的VNF单元,即VNFM单元可以直接向VIM发送虚拟资源请求信息消息,请求建立VNF单元或扩展已有的VNF单元。而VIM会根据接收到的虚拟资源请求信息来分配虚拟资源,将分配的虚拟资源返回发送至虚拟资源请求单元,如VIM将虚拟资源发送至VNFM单元,VNFM可以将虚拟资源分配给VNF单元,还可以再由该VNFM单元将该虚拟资源构成的VNF单元分配给NFVO单元,以便于建立NS单元或扩展已有的NS单元,本发明并不限于此。
由于这些虚拟资源请求单元以及虚拟资源使用单元的重要程度是有区别的,例如在某些紧急情况下(例如自然灾害),相关虚拟资源请求单元以及虚拟资源使用单元的虚拟资源请求需要被优先处理,甚至可以抢占其他虚拟资源请求单元以及虚拟资源使用单元的可用资源。因此,本发明实施例提出了一种在该NFV网络中分配虚拟资源的方法。
图2示出了根据本发明实施例的NFV网络中分配资源的方法100的示意性流程图,该方法100可以由虚拟化基础设施管理器VIM执行。如图2所示,该方法100包括:
S110,虚拟化基础设施管理器VIM接收多个虚拟资源请求消息,该多个虚拟资源请求消息中的每个虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,该每个虚拟资源请求消息用于为该标识信息表示的该至少一个虚拟资源使用单元请求虚拟资源;
S120,该VIM根据预设规则以及该标识信息,确定该每个虚拟资源请求消息的优先级;
S130,该VIM根据该每个虚拟资源请求消息的优先级进行资源分配。
具体地,VIM可以接收多个虚拟资源请求消息,该多个虚拟资源请求消息中的每个虚拟资源请求消息用于请求分配虚拟资源,该虚拟资源请求消息可以包括标识信息,该标识信息可以表示至少一个虚拟资源使用单元,该至少一个虚拟资源使用单元用于直接或间接使用虚拟资源请求消息请求的虚拟资源,例如,该虚拟资源使用单元可以为NS单元使用用户、NS单元、VNF单元、NFVO单元或VNFM单元。VIM可以根据接收到的该多个虚拟资源请求消息中包括的标识信息,确定每个虚拟资源请求消息的优先级,具体地,可以由VIM根据虚拟资源请求消息中的标识信息表示的至少一个虚拟资源使用单元,按照管理实体向VIM发送的预设规则,确定该虚拟资源请求消息的优先级信息。VIM可以根据每个虚拟资源请求消息的该优先级信息,按照优先级先后顺序为多个虚拟资源请求消息分别分配虚拟资源。
因此,本发明实施例的NFV网络中分配虚拟资源的方法,VIM根据接收的多个虚拟资源请求消息中每个虚拟资源请求消息携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,根据优先级,按顺序为虚拟资源请求消息分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
在S110中,VIM接收多个虚拟资源请求消息,该多个虚拟资源请求消息中每个虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,该每个虚拟资源请求消息用于为该标识信息表示的该至少一个虚拟资源使用单元请求虚拟资源,即该至少一个虚拟资源使用单元可以用于直接或间接使用该每个虚拟资源请求消息请求的虚拟资源。具体地,VIM可以接收虚拟资源请求单元发送的虚拟资源请求消息,该虚拟资源请求单元可以为VNFM单元或者NFVO单元,VNFM单元或者NFVO单元可以与VIM直接相连;该虚拟资源请求消息用于请求虚拟资源,至少一个虚拟资源使用单元可以直接或间接使用该请求的虚拟资源,并且该虚拟资源请求消息经过至少一个虚拟资源请求单元发送或转发,可选地,该至少一个虚拟资源使用 单元可以为NS单元、NS单元的使用用户和VNF单元中的至少一个,也可以为VNFM单元或者NFVO单元。
可选地,作为一个实施例,例如,VIM可以接收NFVO单元发送的虚拟资源请求消息,该虚拟资源请求消息为NS单元的使用用户向NFVO单元发送的,用于请求新建NS单元,该NS单元可以由多个VNF单元构成,NFVO单元将该虚拟资源请求消息转发至VIM,以便于VIM根据该虚拟资源请求消息分配资源,构成VNF单元,进而构成NS单元,则此时NFVO单元为虚拟资源请求单元,也可以属于虚拟资源使用单元;而NS单元使用的用户、NS单元和VNF单元均为虚拟资源使用单元。VIM收到该虚拟资源请求消息中可以包括标识信息,该标识信息可以表示上述虚拟资源使用单元中的至少一个,例如,可以包括上述全部虚拟资源使用单元,即该标识信息可以表示NFVO单元、NS单元使用的用户、NS单元和VNF单元;还可以只包括上述部分虚拟资源使用单元,即该标识信息可以只表示NS单元和VNF单元,本发明并不限于此。可选地,这里的NFVO单元还可以将该虚拟资源请求消息通过VNFM单元转发至VIM,则VNFM单元也可以属于虚拟资源使用单元,本发明并不限于此。
可选地,作为一个实施例,再例如,VIM还可以接收任意一个VNFM,例如第一VNFM,发送的第一虚拟资源请求消息,该第一虚拟资源请求消息可以为VNFM单元向VIM发送的,用于请求为第一NS单元新建VNF单元,VIM可以根据该虚拟资源请求消息向该第一VNFM分配虚拟资源,以便于该第一VNFM单元使用该虚拟资源建立新的VNF单元,则这里的虚拟资源请求单元为第一VNFM单元,虚拟资源使用单元包括第一NS单元和VNF单元,也可以包括第一VNFM单元。VIM收到该第一虚拟资源请求消息中可以包括标识信息,该标识信息表示上述虚拟资源使用单元中的至少一个,例如,可以包括上述全部虚拟资源使用单元,即该标识信息可以表示第一VNFM单元、第一NS单元和VNF单元;还可以只包括上述部分虚拟资源使用单元,例如,标识信息可以只表示第一NS单元和VNF单元,本发明并不限于此。
可选地,作为一个实施例,再例如,VIM还可以接收该第一VNFM单元发送的另一个虚拟资源请求消息,即第二虚拟资源请求消息,该第二虚拟资源请求消息可以为该第一VNFM单元向VIM发送的,用于请求为第二 NS单元新建VNF单元,VIM可以根据该第二虚拟资源请求消息向该第一VNFM分配虚拟资源,以便于该第一VNFM单元使用该虚拟资源建立新的VNF单元,则这里的虚拟资源请求单元为VNFM单元,虚拟资源使用单元包括第二NS单元和VNF单元,也可以包括第一VNFM单元。但由于为不同的NS单元请求资源,即分别是为第一NS单元和第二NS单元请求资源,因此,该第二资源请求消息与同样经过该第一VNFM的第一资源请求消息是不同的。
在本发明实施例中,VIM接收到的多个资源请求消息中的每个资源请求消息均包括了标识信息,该标识信息可以表示至少一个虚拟资源使用单元。可选地,该标识信息可以为一个标识ID,通过该ID可以表示多个虚拟资源使用单元;该标识信息还可以为多个标识ID,每个ID对应一个虚拟资源使用单元,本发明并不限于此。
在S120中,该VIM按照预设规则,根据每个虚拟资源请求消息中的标识信息,确定该每个资源请求消息的优先级。具体地,每个资源请求消息中可以包括标识信息,该标识信息表示了至少一个虚拟资源使用单元,则VIM可以根据该标识信息,按照管理实体发送的预设规则,确定每个资源请求消息的优先级,其中,该预设规则,可以为根据该至少一个虚拟资源使用单元中每个单元的优先级,依次判断每个单元的优先级,根据该一个或多个单元的优先级,确定该虚拟资源请求消息的优先级;还可以为根据该至少一个虚拟资源使用单元的整体的排列组合形式与优先级的对应关系,确定该资源请求消息的优先级。
在本发明实施例中,VIM可以根据每个虚拟资源请求消息中的标识信息,按照预设规则确定每个虚拟资源请求消息的优先级信息。可选地,该VIM可以接收管理实体发送的预设规则,该管理实体可以为运营支撑系统(operations support system,简称“OSS”)、网元管理系统(Element Manager System,简称“EMS”)和NFVO单元等,本发明并不限于此。
在本发明实施例中,管理实体向VIM发送的预设规则可以包括优先级类型,比如该优先级类型可以包括普通优先级(General priority)和高级优先级(VIP priority)。该普通优先级可以为每个虚拟资源请求消息的基本属性,对应该虚拟资源请求消息分配资源的顺序,不存在资源抢占的情况,即该普通优先级只能指示分配的先后顺序。而该高级优先级则除了可以指示分 配资源的顺序,被优先分配资源外,也可以中断VIM正在处理的其它虚拟资源请求信息的资源分配,优先响应该高级优先级对应的资源请求,还可以具有抢占资源的特权,抢占已经预留或分配给其它虚拟资源请求单元,或抢占已经分配给虚拟资源使用单元的还未使用的虚拟资源。该高级优先级属于可选属性,管理实体可以为个别特殊的虚拟资源请求消息配置该高级优先级,并将配置结果作为预设规则发送至VIM中。
在本发明实施例中,管理实体向VIM发送的预设规则可以包括根据标识信息中表示的至少一个虚拟资源使用单元中每个单元的优先级,来确定该虚拟资源请求消息的优先级信息。具体地,VIM接收到至少一个虚拟资源请求消息,每个虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,VIM可以依次根据标识信息中的一个或多个单元的优先级,确定该虚拟资源请求消息的优先级。
可选地,作为一个实施例,例如,VIM接收到的虚拟资源请求消息中包括的标识信息表示了NS单元的使用用户、NS单元和VNF单元,可以根据预设规则,选择其中一个开始进行比较,如可以先比较NS单元的使用用户的优先级,根据NS单元的使用用户的优先级确定该虚拟资源请求消息的优先级,例如VIM接收的第一虚拟资源请求消息的标识信息表示的单元中包括第一NS单元的使用用户,第二资源请求消息的标识信息表示的单元中包括第二NS单元的使用用户的标识,根据预设规则,第一NS单元的使用用户的优先级高于第二NS单元的使用用户的优先级,则VIM可以确定第一虚拟资源请求消息的优先级高于第二虚拟资源请求消息的优先级。
可选地,如果VIM接收到的多个资源请求消息中其中存在至少两个资源请求消息包括相同的NS单元的使用用户的标识时,可以再根据预设规则,再比较NS单元的优先级,根据NS的优先级确定该至少两个虚拟资源请求消息的优先级,例如VIM接收的第一虚拟资源请求消息的标识信息表示的单元中包括第一NS单元的使用用户和第一NS单元,第二虚拟资源请求消息包括第一NS单元的使用用户和第二NS单元,根据预设规则,第一NS单元的优先级高于第二NS单元的优先级,则VIM可以确定第一虚拟资源请求消息的优先级高于第二虚拟资源请求消息的优先级。
可选地,当接收的虚拟资源请求消息中还存在至少两个具有相同NS单元的资源请求消息时,再比较VNF单元的优先级,根据该VNF单元的优先 级,确定该至少两个具有相同NS单元的虚拟资源请求消息的优先级,例如,VIM接收的第一虚拟资源请求消息中的标识信息表示的单元中包括第一NS单元的使用用户、第一NS单元和第一VNF单元,第二虚拟资源请求消息包括第一NS单元的使用用户、第一NS单元和第二VNF单元,根据预设规则,第一VNF单元的优先级高于第二VNF单元的优先级,则VIM可以确定第一虚拟资源请求消息的优先级高于第二虚拟资源请求消息的优先级。
可选地,比较优先级时的顺序可以根据预设规则确定,例如,对于VIM接收到的资源请求消息中标识信息所表示的NS单元的使用用户、NS单元和VNF单元,先比较其中哪一个单元的优先级,可以在预设规则中规定,但本发明并不限于此。
可选地,作为一个实施例,在本发明实施例中,该预设规则还可以包括标识信息的优先级,即根据该标识信息中表示的各个单元的排列组合的优先级,从而确定虚拟资源请求消息的优先级。具体地,例如,在NFV架构中分别包括NS单元的使用用户1和NS单元的使用用户2,NS单元1和NS单元2,VNFM单元1和VNFM单元2,以及NFVO单元1,当VIM接收到不同的虚拟资源请求消息时,该每个虚拟资源请求消息中均包括了标识信息,假设每个标识信息均可以表示NS单元的使用用户、NS单元和VNFM单元。在该预设规则中,可以规定各种NS单元的使用用户、NS单元和VNFM单元的组合形式的优先级,例如虚拟资源请求消息1包括的标识信息表示的单元为{NFV Service User1,NS2,VNFM1},资源请求消息2包括的标识信息表示的单元为{NFV Service User1,NS2,VNFM2},类似的,共有8种组合对应的8种虚拟资源请求消息,预设规则可以指示该8种组合的优先级顺序。当VIM接收到至少两个虚拟资源请求消息时,该虚拟资源请求消息包括的标识信息所表示的单元的组合形式为上述8种的其中一种,则VIM可以根据该预设规则,确定每个资源请求消息的优先级,按照预设规则规定的优先级顺序处理该至少两个虚拟资源请求消息,为该至少两个虚拟资源请求消息分配资源。例如,根据预设规则,{NFV Service User1,NS2,VNFM1}的优先级高于{NFV Service User1,NS2,VNFM2}的优先级,则包括{NFV Service User1,NS2,VNFM1}的标识信息的资源请求消息的优先级大于包括{NFV Service User1,NS2,VNFM2}的标识信息的资源请求消息的优先级。
可选地,作为一实施例,管理实体发送的预设规则还可以包括具有某个 标识信息的虚拟资源请求消息的优先级为高级优先级,即该虚拟资源请求消息会被优先处理,并且可以抢占其它资源请求消息的资源。例如,该预设规则可以规定,当虚拟资源请求消息中包括的标识信息表示的单元为{NFV Service User1,NS2,VNFM2}时,该虚拟资源请求消息为高级优先级,则VIM接收到包括该标识信息的虚拟资源请求消息后,即可确定该虚拟资源请求消息为高级优先级。可以优先处理该虚拟资源请求消息,可以先将正在分配的资源暂停,先处理该高级优先级的资源请求消息,还可以将已经分配或预留给其它资源请求消息但还未使用的虚拟资源,分配给该高级优先级的虚拟资源请求消息,本发明并不限于此。
在S130中,VIM根据每个虚拟资源请求消息的优先级信息进行资源分配,分配每个虚拟资源请求消息对应的资源。具体地,例如,当VIM接收到两个虚拟资源请求消息,可以分别称为第三虚拟资源请求消息和第四虚拟资源请求消息时,若确定第三虚拟资源请求消息的优先级高于第四虚拟资源请求消息的优先级时,则优先分配该第三虚拟资源请求消息对应的资源。
在本发明实施例中,若VIM获取的至少两个虚拟资源请求消息的优先级信息均都只包括普通优先级时,只按照优先级的先后顺序,为每个虚拟资源请求消息分别分配资源。例如,VIM获取第三虚拟资源请求消息和第四资虚拟源请求消息的优先级信息均为普通优先级,且该第三虚拟资源请求消息的优先级高于第四虚拟资源请求消息的优先级,则VIM先为第三虚拟资源请求消息分配对应的资源,再为第四虚拟资源请求消息分配资源。
在本发明实施例中,若VIM获取的至少两个虚拟资源请求消息的优先级信息中包括至少一个高级优先级时,优先为具有高级优先级的虚拟资源请求消息分配资源,并可以抢占其它单元的资源。具体地,若该VIM接收到的第三虚拟资源请求消息的优先级高于接收到的第四虚拟资源请求消息,并且第三虚拟资源请求消息的优先级信息指示具有高优先级,而第四虚拟资源请求消息具有普通优先级,则VIM优先处理该第三虚拟资源请求消息的资源请求,再处理该第四虚拟资源请求消息。
可选地,作为一个实施例,如果该VIM先收到该第四虚拟资源请求消息,并且开始为该第四虚拟资源请求消息分配资源,此时收到第三虚拟资源请求消息,则可以暂停为第四虚拟资源请求消息分配资源,而先为该第三虚拟资源请求消息分配资源,再为第四虚拟资源请求消息分配资源。
可选地,作为一个实施例,如果该VIM先收到第四虚拟资源请求消息,并且已经为该第四虚拟资源请求消息分配了资源,此时收到第三虚拟资源请求消息,还可以抢占资源,VIM可以将已经分配或预留给第四虚拟资源请求消息的还未使用的虚拟资源分配给该第三虚拟资源请求消息。
在本发明实施例中,可选地,该VIM还可以发送指示信息,该指示信息用于指示该VIM为虚拟资源请求消息分配资源的结果。具体地,当VIM根据虚拟资源请求消息的优先级分配资源后,可以向该虚拟资源请求消息对应的虚拟资源请求单元发送指示信息,该指示信息指示VIM分配的结果,或者在该虚拟资源请求消息请求的资源抢占了其它请求消息的资源时,或被其它请求消息抢占资源时,向该虚拟资源请求消息对应的虚拟资源请求单元发送指示信息,该指示信息可以指示资源抢占的信息,例如抢占资源的单元、被抢占资源的单元以及其它相关信息。例如,VIM向第三虚拟资源请求消息分配的资源为第四虚拟资源请求信息请求的资源,则VIM可以向第四虚拟资源请求消息经过的虚拟资源请求单元发送指示信息,该指示信息用于指示该第四虚拟资源请求消息请求的资源被第三虚拟资源请求消息抢占,可选地,该指示信息还可以包括其他关于资源抢占的信息,本发明并不限于此。
因此,本发明实施例的NFV网络中分配虚拟资源的方法,VIM根据接收的多个虚拟资源请求消息中每个虚拟资源请求消息携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,根据优先级,按顺序为虚拟资源请求消息分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
图3示出了根据本发明实施例的NFV网络中分配虚拟资源的方法200的示意性流程图,该方法200可以由虚拟资源请求单元执行,该虚拟资源请求单元可以为NFVO单元或者VNFM单元,NFVO单元或者VNFM单元都可以和VIM直接相连。如图3所示,该方法200包括:
S210,目标虚拟资源请求单元接收虚拟资源请求消息,该虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,该虚拟资源请求消息用于为该标识信息表示的该至少一个虚拟资源使用单元请求虚拟资源;
S220,该目标虚拟资源请求单元根据预设规则以及该标识信息,确定该虚拟资源请求消息的优先级;
S230,该目标虚拟资源请求单元向虚拟化基础设施管理器VIM发送目标虚拟资源请求消息,该目标虚拟资源请求消息为该目标虚拟资源请求单元根据该虚拟资源请求消息和该虚拟资源请求消息的优先级确定的,该目标虚拟资源请求消息用于该VIM根据该虚拟资源请求消息的优先级进行资源分配。
因此,本发明实施例的NFV网络中分配虚拟资源的方法,目标虚拟资源请求单元根据接收的多个虚拟资源请求消息中携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,并将包括该优先级信息的资源请求消息发送至VIM,以便于VIM根据该虚拟资源请求消息的优先级分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
在S210,目标虚拟资源请求单元接收虚拟资源请求消息,该虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,该虚拟资源请求消息用于为该标识信息表示的该至少一个虚拟资源使用单元请求虚拟资源,即该至少一个虚拟资源使用单元可以用于直接或间接使用该虚拟资源请求消息请求的虚拟资源。该目标虚拟资源请求单元可以接收一个或多个虚拟资源请求消息,该目标虚拟资源请求单元可以为VNFM单元或者NFVO单元,VNFM单元或者NFVO单元都可以与VIM直接相连,每个虚拟资源请求消息可以经过多个虚拟资源请求单元发送或转发,例如,虚拟资源请求消息可以由NFVO单元转发至VNFM单元,再由VNFM单元转发至VIM。
在本发明实施例中,该目标虚拟资源请求单元接收的虚拟资源请求消息包括标识信息,该标识信息可以表示至少一个虚拟资源使用单元,其中,该目标虚拟资源请求单元用于发送或转发该虚拟资源请求消息;该至少一个虚拟资源使用单元用于直接或间接使用该虚拟资源请求消息请求的资源。
可选地,作为一个实施例,例如,该目标虚拟资源请求单元可以为NFVO单元,该NFVO单元接收虚拟资源请求消息,该资源请求消息为NS单元的使用用户向NFVO单元发送的,用于请求新建NS单元,该NS单元可以由 多个VNF单元构成,可以由NFVO单元将该虚拟资源请求消息转发至VIM,以便于VIM根据该虚拟资源请求消息分配资源,构成VNF单元,进而构成NS单元,则此时NFVO单元为目标虚拟资源请求单元,NS单元使用的用户、NS单元和VNF单元均为虚拟资源使用单元,而NFVO单元也可以看作为虚拟资源使用单元。目标虚拟资源请求单元NFVO单元收到该虚拟资源请求消息中可以包括标识信息,该标识信息表示上述虚拟资源使用单元中的至少一个,例如,可以包括上述全部虚拟资源使用单元,即该标识信息可以表示NFVO单元、NS单元使用的用户、NS单元和VNF单元;还可以只包括上述部分虚拟资源使用单元,即该标识信息可以只表示NS单元和VNF单元,本发明并不限于此。可选地,这里的NFVO单元还可以将该虚拟资源请求消息通过VNFM单元转发至VIM,则该VNFM为接收该虚拟资源请求消息的目标虚拟资源请求单元,该VNFM单元也属于虚拟资源使用单元,即也可以在标识信息表示出来,本发明并不限于此。
可选地,作为一个实施例,再例如,该目标虚拟资源请求单元还可以为第一VNFM单元,该第一VNFM单元接收第一虚拟资源请求消息,该第一资源请求消息可以由VNFM单元生成并向VIM发送的,用于请求为第一NS单元新建VNF单元,VIM可以根据该虚拟资源请求消息向该第一VNFM分配虚拟资源,以便于该第一VNFM单元使用该虚拟资源建立新的VNF单元,则这里的目标虚拟资源请求单元为第一VNFM单元,虚拟资源使用单元为第一NS单元和VNF单元,也可以包括第一VNFM单元。第一VNFM单元收到该第一虚拟资源请求消息中可以包括标识信息,该标识信息表示上述包括该第一VNFM单元的至少一个虚拟资源使用单元中的至少一个,例如,可以包括上述全部虚拟资源使用单元,即该标识信息可以表示第一VNFM单元、第一NS单元和VNF单元;还可以只包括上述部分虚拟资源使用单元,例如,该标识信息可以只表示第一NS单元和VNF单元,本发明并不限于此。
可选地,作为一个实施例,再例如,该目标虚拟资源请求单元仍然为该第一VNFM单元,该第一VNFM单元接收第二虚拟资源请求消息,该第二虚拟资源请求消息可以为该第一VNFM单元向VIM发送的,用于请求为第二NS单元新建VNF单元,VIM可以根据该第二虚拟资源请求消息向该第一VNFM分配虚拟资源,以便于该第一VNFM单元使用该虚拟资源建立新 的VNF单元,则这里的目标虚拟资源请求单元为VNFM单元,虚拟资源使用单元为第二NS单元和VNF单元,也可以包括第一VNFM单元。但由于为不同的NS单元请求资源,即分别是为第一NS单元和第二NS单元请求资源,因此,该第二虚拟资源请求消息与第一虚拟资源请求消息是不同的。
在本发明实施例中,目标虚拟资源请求单元接收到的每个资源请求消息中均包括了标识信息,该标识信息可以表示至少一个虚拟资源使用单元。可选地,该标识信息可以为一个标识ID,通过该ID可以表示多个虚拟资源使用单元;该标识信息还可以为多个标识ID,每个ID对应一个虚拟资源使用单元,本发明并不限于此。
在S220中,该目标虚拟资源请求单元按照预设规则,根据接收的每个资源请求消息中的标识信息,确定该每个虚拟资源请求消息的优先级。具体地,每个资源请求消息中可以包括标识信息,该标识信息表示了至少一个虚拟资源使用单元,则目标虚拟资源请求单元可以根据该标识信息,按照管理实体发送的预设规则,确定每个资源请求消息的优先级,其中,该预设规则,可以为根据标识信息表示的至少一个虚拟资源使用单元中每个单元的优先级,依次判断每个单元的优先级,根据其中一个或多个单元的优先级,确定该虚拟资源请求消息的优先级;还可以为根据该至少一个虚拟资源使用单元的排列组合形式与优先级的对应关系,确定该资源请求消息的优先级。
可选地,该目标虚拟资源请求单元可以接收管理实体发送的预设规则,该管理实体可以为OSS、EMS和NFVO单元等,本发明并不限于此。
在本发明实施例中,管理实体向目标虚拟资源请求单元发送的预设规则可以包括优先级类型,比如该优先级类型可以包括普通优先级(General priority)和高级优先级(VIP priority)。该普通优先级可以为每个虚拟资源请求消息的基本属性,对应该虚拟资源请求消息分配资源的顺序,即目标虚拟资源请求单元确定该优先级,并向VIM发送该优先级后,VIM可以根据该普通优先级的顺序分配资源,而不存在资源抢占的情况,即该普通优先级只能指示分配的先后顺序。而该高级优先级则除了可以指示VIM为资源请求消息分配资源的顺序,被优先分配资源外,也可以中断VIM正在处理的其它虚拟资源请求信息的资源分配,优先响应该高级优先级对应的资源请求,还可以具有抢占资源的特权,抢占已经预留或分配给其它虚拟资源请求单元,或抢占已经分配给虚拟资源使用单元的还未使用的虚拟资源。该高级 优先级属于可选属性,管理实体可以为个别特殊的虚拟资源请求消息配置该高级优先级,并将配置结果作为预设规则发送至目标虚拟资源请求单元。
在本发明实施例中,管理实体向目标虚拟资源请求单元发送的预设规则可以包括根据标识信息中表示的至少一个虚拟资源使用单元每个单元的优先级,来确定该虚拟资源请求消息的优先级信息。具体地,目标虚拟资源请求单元接收到至少一个虚拟资源请求消息,每个虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,目标虚拟资源请求单元可以根据标识信息中的一个或多个单元的优先级,确定该虚拟资源请求消息的优先级。
可选地,作为一个实施例,例如,目标虚拟资源请求单元可以为VNFM单元,该目标虚拟资源请求单元接收到的虚拟资源请求消息中的标识信息可以表示NS单元的使用用户、NS单元和VNF单元,可以根据预设规则,选择其中一个开始进行比较,如可以先比较NS单元的使用用户的优先级,根据NS单元的使用用户的优先级确定该虚拟资源请求消息的优先级,例如目标虚拟资源请求单元接收的第一虚拟资源请求消息包括的标识信息表示的单元包括第一NS单元的使用用户,第二虚拟资源请求消息中的标识信息表示的单元包括第二NS单元的使用用户,根据预设规则,第一NS单元的使用用户的优先级高于第二NS单元的使用用户的优先级,则虚拟资源请求单元可以确定第一虚拟资源请求消息的优先级高于第二虚拟资源请求消息的优先级。
可选地,如果目标虚拟资源请求单元接收到的多个虚拟资源请求消息中其中存在至少两个虚拟资源请求消息中的标识信息表示的单元中包括相同的NS单元的使用用户时,再比较NS单元,根据NS单元的优先级确定该至少两个虚拟资源请求消息优先级,例如目标虚拟资源请求单元接收的第一虚拟资源请求消息中的标识信息表示的单元中包括第一NS单元的使用用户和第一NS单元,第二虚拟资源请求消息的标识信息表示的单元中包括第一NS单元的使用用户和第二NS单元,根据预设规则,第一NS单元的优先级高于第二NS单元的优先级,则目标虚拟资源请求单元可以确定第一虚拟资源请求消息的优先级高于第二虚拟资源请求消息的优先级。
可选地,如果目标虚拟资源请求单元接收到的多个虚拟资源请求消息中还存在至少两个虚拟请求消息的中的标识信息表示的NS单元相同时,再比 较VNF单元的优先级,根据该VNF单元的优先级,确定该至少两个具有相同NS单元的虚拟资源请求消息的优先级,例如,目标虚拟资源请求单元接收的第一虚拟资源请求消息中的标识信息表示的单元中包括第一NS单元使用用户、第一NS单元和第一VNF单元,第二虚拟资源请求消息中的标识信息表示的单元中包括第一NS单元的使用用户、第一NS单元和第二VNF单元,根据预设规则,第一VNF单元的优先级高于第二VNF单元的优先级,则虚拟资源请求单元可以确定第一资源请求消息的优先级高于第二资源请求消息的优先级。
可选地,在本发明实施例中,比较优先级时的顺序可以根据预设规则确定,例如,对于虚拟资源请求单元接收到的资源请求消息中的标识信息表示的单元包括NS单元使用的用户、NS单元和VNF单元,先比较其中哪一个单元的优先级,可以在预设规则中规定,但本发明并不限于此。
可选地,作为一个实施例,在本发明实施例中,该预设规则还可以包括标识信息的优先级,即根据该标识信息中表示的各个单元的排列组合的优先级。具体地,例如,在NFV架构中分别包括NS单元的使用用户1和NS单元的使用用户2,NS单元1和NS单元2,VNFM单元1和VNFM单元2,以及NFVO单元1,当虚拟资源请求单元接收到不同的虚拟资源请求消息时,该每个虚拟资源请求消息中均包括了标识信息,假设每个标识信息均可以表示NS单元的使用用户、NS单元和VNFM单元。在目标虚拟资源请求单元中的该预设规则中,可以规定各种NS单元的使用用户、NS单元和VNFM单元的组合形式的优先级,例如虚拟资源请求消息1包括的标识信息表示的单元为{NFV Service User1,NS2,VNFM1},资源请求消息2包括的标识信息表示的单元为{NFV Service User1,NS2,VNFM2},类似的,共有8种组合对应的8种虚拟资源请求消息,预设规则可以指示该8种组合的优先级顺序。当目标虚拟资源请求单元接收到至少两个虚拟资源请求消息,该虚拟资源请求消息包括的标识信息所表示的单元的组合形式为上述8种的其中一种,假设该虚拟资源请求单元为VNFM单元1时,可以根据该预设规则,确定每个虚拟资源请求消息的优先级,按照预设规则规定的优先级顺序确定该至少两个虚拟资源请求消息的优先级。例如,根据预设规则,{NFV Service User1,NS2,VNFM1}的优先级高于{NFV Service User2,NS2,VNFM1}的优先级,则包括{NFV Service User1,NS2,VNFM1}的标识信息的虚拟资源 请求消息的优先级大于包括{NFV Service User2,NS2,VNFM2}的标识信息的虚拟资源请求消息的优先级。
可选地,作为一实施例,管理实体发送的预设规则还可以包括具有某个标识信息的虚拟资源请求消息的优先级为高级优先级,即该虚拟资源请求消息会被VIM优先处理,并且可以抢占其它资源请求消息的资源。例如,该预设规则可以规定,当虚拟资源请求消息中包括的标识信息表示的单元为{NFV Service User1,NS2,VNFM2}时,该虚拟资源请求消息为高级优先级,则当目标虚拟资源请求单元VNFM2接收到该虚拟资源请求消息后,即可确定该虚拟资源请求消息为高级优先级。
在S230中,该目标虚拟资源请求单元向VIM发送目标虚拟资源请求消息,该目标虚拟资源请求消息为该目标虚拟资源请求单元根据该虚拟资源请求消息和该虚拟资源请求消息的优先级确定的,该目标虚拟资源请求消息用于该VIM根据该虚拟资源请求消息的优先级进行资源分配。具体地,虚拟资源请求单元确定了接收到的每个资源请求消息的优先级后,可以根据该优先级与该资源请求信息确定目标资源请求消息,并将该目标资源请求消息发送至VIM,这样,VIM可以获取每个虚拟资源请求信息以及该虚拟资源请求信息的优先级,按照该每个虚拟资源请求消息的优先级,按顺序处理该目标虚拟资源请求信息请求的资源。
可选地,作为一个实施例,例如,目标虚拟资源请求单元向VIM发送了第一虚拟资源请求消息对应的第一目标虚拟资源请求信息,和第二虚拟资源请求消息对应的第二目标虚拟资源请求信息,且第一目标虚拟资源请求消息与第二目标虚拟资源请求信息的优先级均为普通优先级,且第一虚拟资源请求信息的优先级高于第二虚拟资源请求消息的优先级,则VIM可以根据接收到的两个资源请求消息的优先级,优先处理第一虚拟资源请求消息。
可选地,作为一个实施例,再例如,目标虚拟资源请求单元向VIM发送了第一虚拟资源请求消息对应的第一目标虚拟资源请求信息,和第二虚拟资源请求消息对应的第二目标虚拟资源请求信息,且第一虚拟资源请求消息为高级优先级,第二虚拟资源请求信息的优先级为普通优先级,则VIM可以根据接收到的两个虚拟资源请求消息的优先级,优先处理第一虚拟资源请求消息;并且可以暂停处理其它虚拟资源请求信息;该第一虚拟资源请求消息还可以抢占其它虚拟资源请求信息请求的资源。如果VIM还同时接收到 了其它虚拟资源请求单元发送的其它资源请求消息时,该其它资源请求信息都是普通优先级,则VIM仍然要优先处理该具有高级优先级的第一虚拟资源请求消息。
可选地,作为一个实施例,再例如,第一目标虚拟资源请求单元向VIM发送了第一虚拟资源请求消息对应的第一目标虚拟资源请求信息,第二目标虚拟资源请求单元向VIM发送了第二虚拟资源请求消息对应的第二目标虚拟资源请求信息,且第一虚拟资源请求消息与第二虚拟资源请求信息的优先级均为普通优先级,但第一虚拟资源请求信息的优先级指示该第一虚拟资源请求消息为普通优先级中的高优先级,则VIM可以根据该优先级信息,优先处理该第一哪些资源请求消息。或者,该第一虚拟资源请求消息和第二虚拟资源请求消息中没有相关指示时,也可以由VIM根据其它条件确定处理顺序,本发明并不限于此。
因此,本发明实施例的NFV网络中分配虚拟资源的方法,目标虚拟资源请求单元根据接收的多个虚拟资源请求消息中携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,并将包括该优先级信息的资源请求消息发送至VIM,以便于VIM根据该虚拟资源请求消息的优先级分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
上文中结合图1至图3,详细描述了根据本发明实施例的NFV网络中分配虚拟资源的方法,下面将结合图4至图7,描述根据本发明实施例的NFV网络中分配虚拟资源的装置。
如图4所示,根据本发明实施例的NFV网络中分配虚拟资源的VIM 300包括:
接收模块310,用于接收多个虚拟资源请求消息,该多个虚拟资源请求消息中的每个虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,该每个虚拟资源请求消息用于为该标识信息表示的该至少一个虚拟资源使用单元请求虚拟资源;
确定模块320,用于根据预设规则以及该标识信息,确定该每个虚拟资源请求消息的优先级;
处理模块330,用于根据该每个虚拟资源请求消息的优先级进行资源分 配。
因此,本发明实施例的NFV网络中分配资源的VIM,根据接收的多个虚拟资源请求消息中每个虚拟资源请求消息携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,根据优先级,按顺序为虚拟资源请求消息分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
可选地,该标识信息表示该至少一个虚拟资源使用单元的排列组合。
可选地,该预设规则为该至少一个虚拟资源使用单元的排列组合与优先级的对应关系,该确定模块320具体用于:根据该至少一个虚拟资源使用单元的排列组合的优先级,确定该每个虚拟资源请求消息的优先级。
可选地,该预设规则为该至少一个虚拟资源使用单元中每个虚拟资源使用单元的优先级信息,该确定模块320具体用于:根据该至少一个虚拟资源使用单元的优先级信息,确定该每个虚拟资源请求消息的优先级。
可选地,该接收模块310还用于:接收虚拟网络功能调度NFVO单元或虚拟网络功能管理VNFM单元发送的该预设规则。
可选地,该处理模块330具体用于:优先为具有高优先级的虚拟资源请求消息分配虚拟资源。
可选地,该至少一个虚拟资源使用单元包括:网络服务NS单元、虚拟网络功能VNF单元、NS单元使用用户、NFVO单元和VNFM单元中的至少一个。
应理解,根据本发明实施例的NFV网络中分配虚拟资源的VIM 300可对应于执行本发明实施例中的方法100,并且VIM 300中的各个模块的上述和其它操作和/或功能分别为了实现图2中的各个方法的相应流程,为了简洁,在此不再赘述。
因此,本发明实施例的NFV网络中分配资源的VIM,根据接收的多个虚拟资源请求消息中每个虚拟资源请求消息携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,根据优先级,按顺序为虚拟资源请求消息分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的 现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
图5示出了根据本发明实施例的NFV网络中分配虚拟资源的虚拟资源请求单元400的示意性框图,该虚拟资源请求单元400可以为NFVO单元或VNFM单元。该虚拟资源请求单元400包括:
接收模块410,用于接收虚拟资源请求消息,该虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,该虚拟资源请求消息用于为该标识信息表示的该至少一个虚拟资源使用单元请求虚拟资源;
确定模块420,用于根据预设规则以及该标识信息,确定该虚拟资源请求消息的优先级;
发送模块430,用于向虚拟化基础设施管理器VIM发送目标虚拟资源请求消息,该目标虚拟资源请求消息为该确定模块420根据该虚拟资源请求消息和该虚拟资源请求消息的优先级确定的,该目标虚拟资源请求消息用于该VIM根据该虚拟资源请求消息的优先级进行资源分配。
因此,本发明实施例的NFV网络中分配虚拟资源的虚拟资源请求单元,根据接收的多个虚拟资源请求消息中携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,并将包括该优先级信息的资源请求消息发送至VIM,以便于VIM根据该虚拟资源请求消息的优先级,按顺序为虚拟资源请求消息分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
可选地,该标识信息表示该至少一个虚拟资源使用单元的排列组合。
可选地,该预设规则为该至少一个虚拟资源使用单元的排列组合与优先级的对应关系,该确定模块420具体用于:根据该至少一个虚拟资源使用单元的排列组合的优先级,确定该每个虚拟资源请求消息的优先级。
可选地,该预设规则为该至少一个虚拟资源使用单元中每个虚拟资源使用单元的优先级信息,该确定模块420具体用于:根据该至少一个虚拟资源使用单元的优先级信息,确定该每个虚拟资源请求消息的优先级。
可选地,该接收模块410还用于:接收虚拟网络功能调度NFVO单元或虚拟网络功能管理VNFM单元发送的该预设规则。
可选地,该虚拟资源请求单元包括:NFVO单元或VNFM单元。
可选地,该至少一个虚拟资源使用单元包括:网络服务NS单元、虚拟网络功能VNF单元、NS单元使用用户、NFVO单元和VNFM单元中的至少一个。
应理解,根据本发明实施例的NFV网络中分配虚拟资源的虚拟资源请求单元400可对应于执行本发明实施例中的方法200,并且该虚拟资源请求单元400中的各个模块的上述和其它操作和/或功能分别为了实现图3中的各个方法的相应流程,为了简洁,在此不再赘述。
因此,本发明实施例的NFV网络中分配虚拟资源的虚拟资源请求单元,根据接收的多个虚拟资源请求消息中携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,并将包括该优先级信息的资源请求消息发送至VIM,以便于VIM根据该虚拟资源请求消息的优先级分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
如图6所示,本发明实施例还提供了一种NFV网络中分配虚拟资源的VIM 500,该接收机500包括处理器510、存储器520、收发器530和总线系统540。其中,处理器510、存储器520和收发器530通过总线系统540相连,该存储器520用于存储指令,该处理器510用于执行该存储器520存储的指令,以控制收发器530收发信号。其中,收发器530用于接收多个虚拟资源请求消息,该多个虚拟资源请求消息中的每个虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,该每个虚拟资源请求消息用于为该标识信息表示的该至少一个虚拟资源使用单元请求虚拟资源;再由处理器510根据预设规则以及该标识信息,确定该每个虚拟资源请求消息的优先级;根据该每个虚拟资源请求消息的优先级进行资源分配。
因此,本发明实施例的NFV网络中分配资源的VIM,根据接收的多个虚拟资源请求消息中每个虚拟资源请求消息携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,根据优先级,按顺序为虚拟资源请求消息分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有 效。
应理解,在本发明实施例中,该处理器510可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器510还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器520可以包括只读存储器和随机存取存储器,并向处理器510提供指令和数据。存储器520的一部分还可以包括非易失性随机存取存储器。例如,存储器520还可以存储设备类型的信息。
该总线系统540除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统540。
在实现过程中,上述方法的各步骤可以通过处理器510中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器520,处理器510读取存储器520中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
可选地,作为一个实施例,该标识信息表示该至少一个虚拟资源使用单元的排列组合。
可选地,作为一个实施例,该预设规则为该至少一个虚拟资源使用单元的排列组合与优先级的对应关系,该处理器510还用于根据该至少一个虚拟资源使用单元的排列组合的优先级,确定该每个虚拟资源请求消息的优先级。
可选地,作为一个实施例,该预设规则为该至少一个虚拟资源使用单元中每个虚拟资源使用单元的优先级信息,该处理器510还用于根据该至少一个虚拟资源使用单元的优先级信息,确定该每个虚拟资源请求消息的优先级。
可选地,作为一个实施例,该收发器530还用于接收虚拟网络功能调度NFVO单元或虚拟网络功能管理VNFM单元发送的该预设规则。
可选地,作为一个实施例,该处理器510还用于优先为具有高优先级的虚拟资源请求消息分配虚拟资源。
可选地,作为一个实施例,该至少一个虚拟资源使用单元包括:网络服务NS单元、虚拟网络功能VNF单元、NS单元使用用户、NFVO单元和VNFM单元中的至少一个。
应理解,根据本发明实施例的NFV网络中分配虚拟资源的VIM 500可对应于本发明实施例中的VIM 300,并可以对应于执行根据本发明实施例的方法100中的相应主体,并且VIM 500中的各个模块的上述和其它操作和/或功能分别为了实现图2中的各个方法的相应流程,为了简洁,在此不再赘述。
因此,本发明实施例的NFV网络中分配资源的VIM,根据接收的多个虚拟资源请求消息中每个虚拟资源请求消息携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,根据优先级,按顺序为虚拟资源请求消息分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
如图7所示,本发明实施例还提供了一种NFV网络中分配虚拟资源的虚拟资源请求单元600,该虚拟资源请求单元600包括处理器610、存储器620、收发器630和总线系统640。其中,处理器610、存储器620和收发器630通过总线系统640相连,该存储器620用于存储指令,该处理器610用于执行该存储器620存储的指令,以控制收发器630收发信号。其中,该收发器630用于接收虚拟资源请求消息,该虚拟资源请求消息包括标识信息,该标识信息表示至少一个虚拟资源使用单元,该虚拟资源请求消息用于为该标识信息表示的该至少一个虚拟资源使用单元请求虚拟资源;该处理器610用于根据预设规则以及该标识信息,确定该虚拟资源请求消息的优先级;该收发器630还用于向虚拟化基础设施管理器VIM发送目标虚拟资源请求消息,该目标虚拟资源请求消息为该处理器610根据该虚拟资源请求消息和该虚拟资源请求消息的优先级确定的,该虚拟资源请求消息用于该VIM根据该虚拟资源请求消息的优先级进行资源分配。
因此,本发明实施例的NFV网络中分配虚拟资源的虚拟资源请求单元, 根据接收的多个虚拟资源请求消息中携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,并将包括该优先级信息的资源请求消息发送至VIM,以便于VIM根据该虚拟资源请求消息的优先级分配资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
应理解,在本发明实施例中,该处理器610可以是中央处理单元(Central Processing Unit,简称为“CPU”),该处理器610还可以是其他通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
该存储器620可以包括只读存储器和随机存取存储器,并向处理器610提供指令和数据。存储器620的一部分还可以包括非易失性随机存取存储器。例如,存储器620还可以存储设备类型的信息。
该总线系统640除包括数据总线之外,还可以包括电源总线、控制总线和状态信号总线等。但是为了清楚说明起见,在图中将各种总线都标为总线系统640。
在实现过程中,上述方法的各步骤可以通过处理器610中的硬件的集成逻辑电路或者软件形式的指令完成。结合本发明实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器620,处理器610读取存储器620中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。
可选地,作为一个实施例,该虚拟资源请求单元属于该N个虚拟资源请求单元。
可选地,作为一个实施例,该标识信息表示该至少一个虚拟资源使用单元的排列组合。
可选地,作为一个实施例,该预设规则为该至少一个虚拟资源使用单元的排列组合与优先级的对应关系,该处理器610还用于根据该至少一个虚拟资源使用单元的排列组合的优先级,确定该每个虚拟资源请求消息的优先 级。
可选地,作为一个实施例,该预设规则为该至少一个虚拟资源使用单元中每个虚拟资源使用单元的优先级信息,该处理器610还用于根据该至少一个虚拟资源使用单元的优先级信息,确定该每个虚拟资源请求消息的优先级。
可选地,作为一个实施例,该收发器630还用于接收虚拟网络功能调度NFVO单元或虚拟网络功能管理VNFM单元发送的该预设规则。
可选地,作为一个实施例,该虚拟资源请求单元包括:NFVO单元或VNFM单元。
可选地,作为一个实施例,该至少一个虚拟资源使用单元包括:网络服务NS单元、虚拟网络功能VNF单元、NS单元使用用户、NFVO单元和VNFM单元中的至少一个。
应理解,根据本发明实施例的NFV网络中分配资源的虚拟资源请求单元600可对应于本发明实施例中的虚拟资源请求单元400,并可以对应于执行根据本发明实施例的方法200中的相应主体,并且虚拟资源请求单元600中的各个模块的上述和其它操作和/或功能分别为了实现图3中的各个方法的相应流程,为了简洁,在此不再赘述。
因此,本发明实施例的NFV网络中分配虚拟资源的虚拟资源请求单元,根据接收的多个虚拟资源请求消息中携带的标识信息,按照预设规则,确定每个虚拟资源请求消息的优先级信息,并将包括该优先级信息的资源请求消息发送至VIM,以便于VIM根据该虚拟资源请求消息的优先级分配虚拟资源,从而能够在并发处理资源请求时,提高资源使用的效率和灵活性,并且考虑不同资源请求消息的优先级,可以避免资源竞争的现象,提高系统的稳定性和可靠性,对于某些紧急情况处理反应更快、更有效。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应 过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。

Claims (28)

  1. 一种网络功能虚拟化NFV网络中分配虚拟资源的方法,其特征在于,包括:
    虚拟化基础设施管理器VIM接收多个虚拟资源请求消息,所述多个虚拟资源请求消息中的每个虚拟资源请求消息包括标识信息,所述标识信息表示至少一个虚拟资源使用单元,所述每个虚拟资源请求消息用于为所述标识信息表示的所述至少一个虚拟资源使用单元请求虚拟资源;
    所述VIM根据预设规则以及所述标识信息,确定所述每个虚拟资源请求消息的优先级;
    所述VIM根据所述每个虚拟资源请求消息的优先级进行资源分配。
  2. 根据权利要求1所述的方法,其特征在于,所述标识信息表示所述至少一个虚拟资源使用单元的排列组合。
  3. 根据权利要求2所述的方法,其特征在于,所述预设规则为所述至少一个虚拟资源使用单元的排列组合与优先级的对应关系,
    所述VIM根据预设规则以及所述标识信息,确定所述每个虚拟资源请求消息的优先级,包括:
    所述VIM根据所述至少一个虚拟资源使用单元的排列组合的优先级,确定所述每个虚拟资源请求消息的优先级。
  4. 根据权利要求1所述的方法,其特征在于,所述预设规则为所述至少一个虚拟资源使用单元中每个虚拟资源使用单元的优先级信息,
    所述VIM根据预设规则以及所述标识信息,确定所述每个虚拟资源请求消息的优先级,包括:
    所述VIM根据所述至少一个虚拟资源使用单元的优先级信息,确定所述每个虚拟资源请求消息的优先级。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述方法还包括:
    所述VIM接收虚拟网络功能调度NFVO单元或虚拟网络功能管理VNFM单元发送的所述预设规则。
  6. 根据权利要求1至5中任一项所述的方法,其特征在于,所述VIM根据所述每个虚拟资源请求消息的优先级进行资源分配,包括:
    所述VIM优先为具有高优先级的虚拟资源请求消息分配虚拟资源。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,
    所述至少一个虚拟资源使用单元包括:网络服务NS单元、虚拟网络功能VNF单元、NS单元使用用户、NFVO单元和VNFM单元中的至少一个。
  8. 一种网络功能虚拟化NFV网络中分配虚拟资源的方法,其特征在于,包括:
    目标虚拟资源请求单元接收虚拟资源请求消息,所述虚拟资源请求消息包括标识信息,所述标识信息表示至少一个虚拟资源使用单元,所述虚拟资源请求消息用于为所述标识信息表示的所述至少一个虚拟资源使用单元请求虚拟资源;
    所述目标虚拟资源请求单元根据预设规则以及所述标识信息,确定所述虚拟资源请求消息的优先级;
    所述目标虚拟资源请求单元向虚拟化基础设施管理器VIM发送目标虚拟资源请求消息,所述目标虚拟资源请求消息为所述目标虚拟资源请求单元根据所述虚拟资源请求消息和所述虚拟资源请求消息的优先级确定的,所述目标虚拟资源请求消息用于所述VIM根据所述虚拟资源请求消息的优先级进行资源分配。
  9. 根据权利要求8所述的方法,其特征在于,所述标识信息表示所述至少一个虚拟资源使用单元的排列组合。
  10. 根据权利要求9所述的方法,其特征在于,所述预设规则为所述至少一个虚拟资源使用单元的排列组合与优先级的对应关系,
    所述目标虚拟资源请求单元根据预设规则以及所述标识信息,确定所述虚拟资源请求消息的优先级,包括:
    所述目标虚拟资源请求单元根据所述至少一个虚拟资源使用单元的排列组合的优先级,确定所述每个虚拟资源请求消息的优先级。
  11. 根据权利要求8所述的方法,其特征在于,所述预设规则为所述至少一个虚拟资源使用单元中每个虚拟资源使用单元的优先级信息,
    所述目标虚拟资源请求单元根据预设规则以及所述标识信息,确定所述虚拟资源请求消息的优先级,包括:
    所述目标虚拟资源请求单元根据所述至少一个虚拟资源使用单元的优先级信息,确定所述每个虚拟资源请求消息的优先级。
  12. 根据权利要求8至11中任一项所述的方法,其特征在于,所述方 法还包括:
    所述目标虚拟资源请求单元接收虚拟网络功能调度NFVO单元或虚拟网络功能管理VNFM单元发送的所述预设规则。
  13. 根据权利要求8至11中任一项所述的方法,其特征在于,
    所述目标虚拟资源请求单元包括:NFVO单元或VNFM单元。
  14. 根据权利要求8至13中任一项所述的方法,其特征在于,
    所述至少一个虚拟资源使用单元包括:网络服务NS单元、虚拟网络功能VNF单元、NS单元使用用户、NFVO单元和VNFM单元中的至少一个。
  15. 一种网络功能虚拟化NFV网络中分配虚拟资源的虚拟化基础设施管理器VIM,其特征在于,包括:
    接收模块,用于接收多个虚拟资源请求消息,所述多个虚拟资源请求消息中的每个虚拟资源请求消息包括标识信息,所述标识信息表示至少一个虚拟资源使用单元,所述每个虚拟资源请求消息用于为所述标识信息表示的所述至少一个虚拟资源使用单元请求虚拟资源;
    确定模块,用于根据预设规则以及所述标识信息,确定所述每个虚拟资源请求消息的优先级;
    处理模块,用于根据所述每个虚拟资源请求消息的优先级进行资源分配。
  16. 根据权利要求15所述的VIM,其特征在于,所述标识信息表示所述至少一个虚拟资源使用单元的排列组合。
  17. 根据权利要求16所述的VIM,其特征在于,所述预设规则为所述至少一个虚拟资源使用单元的排列组合与优先级的对应关系,
    所述确定模块具体用于:
    根据所述至少一个虚拟资源使用单元的排列组合的优先级,确定所述每个虚拟资源请求消息的优先级。
  18. 根据权利要求15所述的VIM,其特征在于,所述预设规则为所述至少一个虚拟资源使用单元中每个虚拟资源使用单元的优先级信息,
    所述确定模块具体用于:
    根据所述至少一个虚拟资源使用单元的优先级信息,确定所述每个虚拟资源请求消息的优先级。
  19. 根据权利要求15至18中任一项所述的VIM,其特征在于,所述接 收模块还用于:
    接收虚拟网络功能调度NFVO单元或虚拟网络功能管理VNFM单元发送的所述预设规则。
  20. 根据权利要求15至19中任一项所述的VIM,其特征在于,所述处理模块具体用于:
    优先为具有高优先级的虚拟资源请求消息分配虚拟资源。
  21. 根据权利要求15至20中任一项所述的VIM,其特征在于,所述至少一个虚拟资源使用单元包括:网络服务NS单元、虚拟网络功能VNF单元、NS单元使用用户、NFVO单元和VNFM单元中的至少一个。
  22. 一种网络功能虚拟化NFV网络中分配虚拟资源的虚拟资源请求单元,其特征在于,包括:
    接收模块,用于接收虚拟资源请求消息,所述虚拟资源请求消息包括标识信息,所述标识信息表示至少一个虚拟资源使用单元,所述虚拟资源请求消息用于为所述标识信息表示的所述至少一个虚拟资源使用单元请求虚拟资源;
    确定模块,用于根据预设规则以及所述标识信息,确定所述虚拟资源请求消息的优先级;
    发送模块,用于向虚拟化基础设施管理器VIM发送目标虚拟资源请求消息,所述目标虚拟资源请求消息为所述确定模块根据所述虚拟资源请求消息和所述虚拟资源请求消息的优先级确定的,所述目标虚拟资源请求消息用于所述VIM根据所述虚拟资源请求消息的优先级进行资源分配。
  23. 根据权利要求22所述的虚拟资源请求单元,其特征在于,所述标识信息表示所述至少一个虚拟资源使用单元的排列组合。
  24. 根据权利要求23所述的虚拟资源请求单元,其特征在于,所述预设规则为所述至少一个虚拟资源使用单元的排列组合与优先级的对应关系,
    所述确定模块具体用于:
    根据所述至少一个虚拟资源使用单元的排列组合的优先级,确定所述每个虚拟资源请求消息的优先级。
  25. 根据权利要求22所述的虚拟资源请求单元,其特征在于,所述预设规则为所述至少一个虚拟资源使用单元中每个虚拟资源使用单元的优先级信息,
    所述确定模块具体用于:
    根据所述至少一个虚拟资源使用单元的优先级信息,确定所述每个虚拟资源请求消息的优先级。
  26. 根据权利要求22至25中任一项所述的虚拟资源请求单元,其特征在于,所述接收模块还用于:
    接收虚拟网络功能调度NFVO单元或虚拟网络功能管理VNFM单元发送的所述预设规则。
  27. 根据权利要求22至25中任一项所述的虚拟资源请求单元,其特征在于,所述虚拟资源请求单元包括:NFVO单元或VNFM单元。
  28. 根据权利要求22至27中任一项所述的虚拟资源请求单元,其特征在于,所述至少一个虚拟资源使用单元包括:网络服务NS单元、虚拟网络功能VNF单元、NS单元使用用户、NFVO单元和VNFM单元中的至少一个。
PCT/CN2015/093947 2015-11-06 2015-11-06 网络功能虚拟化nfv网络中分配虚拟资源的方法和装置 WO2017075796A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN201580083041.4A CN108028806B (zh) 2015-11-06 2015-11-06 网络功能虚拟化nfv网络中分配虚拟资源的方法和装置
PCT/CN2015/093947 WO2017075796A1 (zh) 2015-11-06 2015-11-06 网络功能虚拟化nfv网络中分配虚拟资源的方法和装置
EP15907638.9A EP3358795B1 (en) 2015-11-06 2015-11-06 Method and apparatus for allocating a virtual resource in network functions virtualization (nfv) network
US15/965,707 US20180246772A1 (en) 2015-11-06 2018-04-27 Method and apparatus for allocating a virtual resource in network functions virtualization network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/093947 WO2017075796A1 (zh) 2015-11-06 2015-11-06 网络功能虚拟化nfv网络中分配虚拟资源的方法和装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/965,707 Continuation US20180246772A1 (en) 2015-11-06 2018-04-27 Method and apparatus for allocating a virtual resource in network functions virtualization network

Publications (1)

Publication Number Publication Date
WO2017075796A1 true WO2017075796A1 (zh) 2017-05-11

Family

ID=58661462

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093947 WO2017075796A1 (zh) 2015-11-06 2015-11-06 网络功能虚拟化nfv网络中分配虚拟资源的方法和装置

Country Status (4)

Country Link
US (1) US20180246772A1 (zh)
EP (1) EP3358795B1 (zh)
CN (1) CN108028806B (zh)
WO (1) WO2017075796A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337110A (zh) * 2018-01-02 2018-07-27 中兴通讯股份有限公司 一种虚拟资源管理方法及装置、计算机可读存储介质
CN110098946A (zh) * 2018-01-31 2019-08-06 华为技术有限公司 虚拟化网元设备的部署方法以及装置
CN111726237A (zh) * 2019-03-18 2020-09-29 中兴通讯股份有限公司 处理ns优先级的方法、nfvo、存储介质及系统

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10606661B2 (en) * 2017-12-15 2020-03-31 Rubrik, Inc. On-demand provisioning of customized developer environments
EP3841716A4 (en) * 2018-08-24 2022-03-23 Nokia Solutions and Networks Oy DEVICE AND METHOD FOR HANDLING MANAGED OBJECT PRIORITIES IN A 5G NETWORK

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137494A (zh) * 2010-12-10 2011-07-27 华为软件技术有限公司 通信资源的分配方法及装置
CN104050045A (zh) * 2014-06-27 2014-09-17 华为技术有限公司 基于磁盘io的虚拟资源分配方法及装置
EP2940968A1 (en) * 2014-04-30 2015-11-04 Hewlett-Packard Development Company, L.P. Network infrastructure management

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2959091B1 (fr) * 2010-04-16 2014-06-20 Inst Nat Rech Inf Automat Outil de gestion de ressources et d'infrastructures informatiques et reseaux
US9384028B1 (en) * 2013-12-19 2016-07-05 Amdocs Software Systems Limited System, method, and computer program for preserving service continuity in a network function virtualization (NFV) based communication network
US10481935B2 (en) * 2013-12-27 2019-11-19 Ntt Docomo, Inc. Management system, overall management node, and management method for managing virtualization resources in a mobile communication network
US10481953B2 (en) * 2013-12-27 2019-11-19 Ntt Docomo, Inc. Management system, virtual communication-function management node, and management method for managing virtualization resources in a mobile communication network
CN106797323B (zh) * 2014-09-25 2021-04-30 苹果公司 网络功能虚拟化
CN105873114B (zh) * 2015-01-21 2020-12-11 中兴通讯股份有限公司 一种虚拟网络功能性能监控的方法及相应的系统
US9578008B2 (en) * 2015-05-11 2017-02-21 Intel Corporation Technologies for secure bootstrapping of virtual network functions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137494A (zh) * 2010-12-10 2011-07-27 华为软件技术有限公司 通信资源的分配方法及装置
EP2940968A1 (en) * 2014-04-30 2015-11-04 Hewlett-Packard Development Company, L.P. Network infrastructure management
CN104050045A (zh) * 2014-06-27 2014-09-17 华为技术有限公司 基于磁盘io的虚拟资源分配方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3358795A4 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108337110A (zh) * 2018-01-02 2018-07-27 中兴通讯股份有限公司 一种虚拟资源管理方法及装置、计算机可读存储介质
CN108337110B (zh) * 2018-01-02 2022-01-28 中兴通讯股份有限公司 一种虚拟资源管理方法及装置、计算机可读存储介质
CN110098946A (zh) * 2018-01-31 2019-08-06 华为技术有限公司 虚拟化网元设备的部署方法以及装置
WO2019148854A1 (zh) * 2018-01-31 2019-08-08 华为技术有限公司 虚拟化网元设备的部署方法以及装置
CN110098946B (zh) * 2018-01-31 2021-09-03 华为技术有限公司 虚拟化网元设备的部署方法以及装置
CN111726237A (zh) * 2019-03-18 2020-09-29 中兴通讯股份有限公司 处理ns优先级的方法、nfvo、存储介质及系统

Also Published As

Publication number Publication date
US20180246772A1 (en) 2018-08-30
CN108028806A (zh) 2018-05-11
EP3358795A4 (en) 2018-10-31
EP3358795B1 (en) 2020-11-04
EP3358795A1 (en) 2018-08-08
CN108028806B (zh) 2020-06-16

Similar Documents

Publication Publication Date Title
US11704144B2 (en) Creating virtual machine groups based on request
US10120726B2 (en) Hybrid virtual machine configuration management
US9733992B1 (en) Inter-process communication between containers
EP3313023A1 (en) Life cycle management method and apparatus
WO2015196931A1 (zh) 基于磁盘io的虚拟资源分配方法及装置
WO2017075796A1 (zh) 网络功能虚拟化nfv网络中分配虚拟资源的方法和装置
US11030136B2 (en) Memory access optimization for an I/O adapter in a processor complex
US20130332696A1 (en) Shared physical memory
US11734172B2 (en) Data transmission method and apparatus using resources in a resource pool of a same NUMA node
WO2016183799A1 (zh) 一种硬件加速方法以及相关设备
US10579416B2 (en) Thread interrupt offload re-prioritization
US11726816B2 (en) Scheduling workloads on a common set of resources by multiple schedulers operating independently
CN109905258B (zh) PaaS的管理方法、装置及存储介质
US10846125B2 (en) Memory access optimization in a processor complex
US20200278890A1 (en) Task management using a virtual node
CN115168040A (zh) 一种作业抢占调度方法、装置、设备和存储介质
US11954534B2 (en) Scheduling in a container orchestration system utilizing hardware topology hints
US20230205594A1 (en) Dynamic resource allocation
CN115080196A (zh) 进程调度方法、装置、电子设备及计算机可读存储介质

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: 15907638

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2015907638

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE