WO2019072171A1 - Method and apparatus for network functions virtualization service chain mapping in annular network - Google Patents

Method and apparatus for network functions virtualization service chain mapping in annular network Download PDF

Info

Publication number
WO2019072171A1
WO2019072171A1 PCT/CN2018/109498 CN2018109498W WO2019072171A1 WO 2019072171 A1 WO2019072171 A1 WO 2019072171A1 CN 2018109498 W CN2018109498 W CN 2018109498W WO 2019072171 A1 WO2019072171 A1 WO 2019072171A1
Authority
WO
WIPO (PCT)
Prior art keywords
server group
network function
server
group area
service chain
Prior art date
Application number
PCT/CN2018/109498
Other languages
French (fr)
Chinese (zh)
Inventor
卢华
王延松
吴少勇
陈立全
乔志
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2019072171A1 publication Critical patent/WO2019072171A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5041Network service management, e.g. ensuring proper service fulfilment according to agreements characterised by the time relationship between creation and deployment of a service
    • H04L41/5054Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0895Configuration of virtualised networks or elements, e.g. virtualised network function or OpenFlow elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Definitions

  • Embodiments of the present disclosure relate to, but are not limited to, the field of network communication technologies, and in particular, to a method and apparatus for virtualizing a service chain mapping of a network function under a ring network.
  • the Network Functions Virtualization Infrastructure (NFV) technology is a technology for realizing network functions by virtualizing on the x86 server common platform in order to solve the problem of the versatility of the existing communication devices.
  • NFV Network Functions Virtualization Infrastructure
  • the network function virtualization service chain mapping method may firstly obtain the percentage of the customer's demand for each virtualized network function (VNF) through historical data or experience, and randomly deploy from the largest to the smallest. On different servers; next time every user traffic comes, check if there is a virtual machine that can make the service chain not fold back; if it exists, select the path; if it does not exist, correct it by turning on the virtual machine Business chain path.
  • VNF virtualized network function
  • a method for virtualizing a service chain mapping of a network function under a ring network includes the following steps: pre-partitioning a server group area for a virtual network function of a service chain; and participating in virtualizing a network function
  • the server of the resource allocation is allocated to the corresponding server group area; and when the user traffic is deployed, the virtual network corresponding to the server group area corresponding to each virtual network function in the service chain required by the user traffic is selected.
  • Features are deployed.
  • an apparatus for virtualizing a service chain mapping of a network function under a ring network includes: a dividing module configured to perform pre-partitioning of a server group area for a virtual network function of a service chain; and an allocation module, It is configured to allocate a server participating in resource allocation in the network function virtualization to the corresponding server group area; and a deployment module configured to select the service chain required by the user traffic when deploying the user traffic The corresponding virtual network function on the server group area corresponding to each virtual network function is deployed.
  • an apparatus for virtualizing a service chain mapping of a network function under a ring network includes: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein The processor performs the following steps: performing server group area pre-division on the virtual network function of the service chain; assigning the server participating in the resource allocation in the network function virtualization to the corresponding server group area; When the user traffic is deployed, the corresponding network function on the server group area corresponding to each virtual network function in the service chain required by the user traffic is selected for deployment.
  • FIG. 1 is a flowchart of a method for virtualizing a service chain mapping of a network function under a ring network according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a ring networking mode in accordance with an embodiment of the present disclosure
  • FIG. 3 is a flowchart of a server group area pre-division phase for a virtual network function of a service chain according to an embodiment of the present disclosure
  • FIG. 4 is a diagram showing an example of VNF region pre-division according to an embodiment of the present disclosure
  • FIG. 5 is a flow chart of a distribution server phase in accordance with an embodiment of the present disclosure.
  • FIG. 6 is a flowchart of server area repartitioning according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram of an apparatus for virtualizing a service chain mapping of a network function under a ring network according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a method for virtualizing a service chain mapping of a network function under a ring network according to an embodiment of the present disclosure. As shown in FIG. 1, the method includes: step 11, step 12, and step 13.
  • step 11 the server group area pre-division is performed on the VNF of the service chain.
  • step 12 a server participating in resource allocation in the NFV is allocated to the corresponding server group area.
  • step 13 when the user traffic is deployed, the corresponding network function on the server group area corresponding to each VNF in the service chain required by the user traffic is selected for deployment.
  • the step of selecting a corresponding network function on the server group area corresponding to each VNF in the service chain required by the user traffic includes the following steps: when determining the user traffic If the idle resources of the server group area corresponding to each VNF in the required service chain are insufficient, the server group area is re-divided, and the corresponding VNFs in the corresponding server group area after the re-division are selected for deployment.
  • the step of re-division of the server group area comprises the steps of: determining a server group area with the most remaining current resources; and from the server group area with the most remaining current resources to the user traffic A server group area corresponding to each VNF in the required service chain, and sequentially assigns a specified resource from each server group area to the next server group area in the label order until the specified resource is allocated to the user The server group area corresponding to each VNF on the service chain required for traffic.
  • the method of the embodiment of the present disclosure can improve the efficiency of NFV resource mapping in the ring networking mode, reduce the return of network traffic, and comprehensively consider the CPU and memory resources to effectively improve the NFV bandwidth resource utilization.
  • FIG. 2 is a schematic diagram of a ring networking mode in accordance with an embodiment of the present disclosure.
  • multiple x86-based servers exist to carry the VNF function.
  • the data traffic originates from the starting point of the ring network, and the formed virtual network service chain traffic flows in the ring network.
  • Each server has a VM running on it, and the VNF works on top of the VM. This is the application scenario of NFV resource allocation in ring networking mode.
  • the method for mapping the virtualized service chain of the network function in the ring network of the embodiment of the present disclosure includes: pre-sharing the service chain VNF area, allocating the server, deploying the traffic of the service chain, checking whether there are idle resources on the entire server group, and performing the server on the server.
  • the area is subdivided into 4 parts.
  • Num xi is the identifier of the i-th deployment mode of the service chain x. It is used to determine the mapping mode of each service chain to the area, and its initial value is zero.
  • the longest service chain contains ⁇ VNFs, and the server group is also divided into ⁇ areas, and the number of the fields is recorded as 1, 2, ..., ⁇ .
  • the numbers of the VNFs in the service chain are marked according to their service chain order. If a certain VNF is mapped to the area k, the VNF is said to exist on the area k.
  • the map ij indicates the area in which the jth VNF of the i-th service chain is mapped.
  • Ind ij represents the number of VMs that are roughly required by the jth VNF on the i-th service chain.
  • p i represents the user's demand for the i-th business chain based on historical experience.
  • Cap j represents the number of customers that a single VM can accommodate the jth VNF.
  • x k represents the number of VMs that need to be opened on the kth area.
  • the server number near the origin of the traffic is server 1, and the remaining numbers are 2, 3, 4...t.
  • n the total number of VMs that can be opened on the server group.
  • VMNum ij represents the number of VMs required by the jth VNF in the i-th service chain.
  • the mapping mode of the service chain is a set of VNF mappings, so a certain mapping mode of a certain service chain is one of the permutation combinations of the VNF mapping.
  • the idle network resource refers to the VNF running on the opened VM can continue to accommodate the resources of the customer traffic; and the idle resource refers to the resource that has the VM opened but not loaded with the VNF, that is, the CPU and memory that are not loaded with the VNF. Resources.
  • FIG. 3 is a flow diagram of a server farm zone pre-partitioning phase of a virtual network function of a service chain in accordance with an embodiment of the present disclosure.
  • the server group pre-segmentation phase is performed on the VNF of the service chain, and each VNF is mapped to each area of the ring group network in order from long to short, so that the same VNF is obtained. Is mapped to the same area.
  • the above process includes: Step 101 - Step 103.
  • the maximum length ⁇ of the NFV service chain in the ring network is counted, and the server group is first divided into ⁇ areas, and the sequence mapping is started from the longest service chain.
  • the remaining service chains are sequentially mapped according to the length of the service chain from long to short, and all the mapping modes are traversed without violating the order of the service chain, and the VNFs on the service chains and the server group are sequentially The group area is mapped.
  • step 103 the sum of the number of VNF types in each server group area in all mapping modes is compared, and the mapping relationship between the VNF of each service chain and the server group area in the mapping mode with the smallest sum is selected.
  • the method of step 103 may be: when traversing to the i-th mapping mode, checking the mapping of all VNFs in the i-th mapping mode; when such a VNF already exists in the mapped region, adding the statistical value num xi to 1 After all traversal is completed, select the maximum mapping mode of num xi as the mapping method to be used; at the same time, remember that the number of VNF types on a certain area i is n i , and the method of selecting the smallest sum of n i as the mapping method to be used is exhausted. It is possible to have the same VNF mapped to the same area.
  • Fig. 4 shows an example of pre-division of the VNF region in this case.
  • the server group is divided into three regions.
  • DPI-FW-NAT the service chain has one and only one mapping mode, that is, the DPI on the service chain will be mapped on the area 1, the FW will be mapped on the area 2, and the NAT will be mapped in the area. 3 on.
  • mapping service chain FW-NAT For the mapping service chain FW-NAT, under the premise that the service chain satisfies the mapping policy, there are three mapping modes:
  • VNF in region 1 There are two kinds of VNF in region 1, two kinds of VNF in region 2, and one kind of VNF in region 3, a total of five kinds;
  • VNFs There are two kinds of VNFs in region 1, one VNF in region 2, and one VNF in region 3, for a total of four species;
  • the third embodiment of the present disclosure selects the third mapping method that minimizes the sum of the number of VNF types as the mapping method to be used.
  • FIG. 5 is a flow chart of a distribution server phase in accordance with an embodiment of the present disclosure.
  • the service chain is first estimated according to the demand of the customer for each service chain and the size of the resources required by each VNF in the service chain when the user requests the service chain service.
  • the size of the resources required by the VNF and then according to the mapping relationship of the service chain to the area obtained by the above steps, further estimate the resource size required for each server group area.
  • the estimating step includes: Step 201 - Step 204.
  • the DPI is labeled 1
  • the FW is 2
  • the NAT is 3
  • the service chain DPI-FW-NAT is the service chain 1
  • the service chain FW-NAT is the service chain 2.
  • ind 11 is first calculated
  • ind 12 , ind 13 , ind 21 , ind 22 , ind 23 are calculated in turn, wherein the value of ind 23 is 0, that is, the third VNF does not exist on the service chain 2.
  • the number of VMs VMNum ij required for the jth VNF in the i-th service chain can be calculated: And rounded up.
  • the number of VMs required for the first VNF in the first service chain is calculated. among them, Represents the sum of all ind ij .
  • the above formula means that the number of VMs required for a single VNF is equal to the total number of VMs on the server equal to the sum of the values of the identifiers of the VNFs than the values of all the identifiers, that is, the VNFs required for each service chain.
  • the resource size is proportional to the value of the identifier.
  • the jth VNF defining the i-th service chain is mapped to the region value map ij , and the kth is calculated according to the resource size VMNum ij and the VNF mapping relationship map ij required by the VNF.
  • step 204 it is determined that the server group corresponding to the area k is placed in accordance with the order rule, and the area marked with a small number is preferentially placed on the server with a small label.
  • the server 1 is assigned to the area 1; the server 2 and the server 3 are assigned to the area 2; and the server 4 and the server 5 are assigned to the area 3.
  • each VNF on all service chains requires 2 VM-sized resources.
  • the number of VMs required for the region 1 is 2
  • the number of VMs required for the region 2 is 4, and the number of VMs required for the region 3 is 4.
  • the deployment of user traffic is based on the principle that the VNF uses the resources of its mapped area.
  • the deployment process can include the following four steps.
  • map ij is 0, the next traversal is performed; otherwise, it is checked whether the network resource of the jth VNF in the area map ij is sufficient, and if not, the process jumps to step 3). If the resources are sufficient, proceed to the next traversal.
  • FIG. 6 is a flow diagram of server area repartitioning in accordance with an embodiment of the present disclosure. As shown in FIG. 6, if the idle resources of a certain area are insufficient, the server area is re-divided, and the steps include: Step 301-Step 303.
  • a server group area with the most remaining resources is determined.
  • step 302 Determine the server group area with the most remaining resources, and record it as x free ; judge the relative position of x free and the server group area x short lacking resources, and set the area close to the user traffic origin as the front, if x free before x short, step 302 is executed, otherwise, step 303.
  • the specified resources are sequentially allocated from each server group area in the label order. A server group area, until the specified resource is allocated to the server group area corresponding to each VNF on the service chain required by the user traffic, as in step 302 and step 303.
  • the server number closest to the origin of the traffic is server 1, and the remaining numbers are numbered 2, 3, 4...t.
  • the server with the largest label in x free is divided into resources that can open a VM to x free +1. If there is no idle resource in the area with the largest server label, open a VNF running on the server with the highest label on the other server in the server group area, and the VNF on the server with the highest label and the traffic above it. Migrating in the past. Thus, in the label maximum server, there can be idle resources. Then, divide the resources that can open a VM to x free +1.
  • the server number closest to the origin of the traffic is server 1, and the remaining numbers are numbered 2, 3, 4...t.
  • there can be idle resources the same operation is performed on the server group areas such as x free -1 and x free -2 until the target area x short is re-divided. At this point, it is equivalent to dividing x free resources into x short and guaranteeing regional continuity.
  • the step of re-allocating the idle resources on the area 1 to the area 3 may include the following steps a) and b).
  • step a) the area 1 is denoted as x free ; the relative position of the x free and the resource lacking area x short is judged, since x free , that is, the area 1 is before the x short area 3, step b) is performed.
  • step b) there is no free resource on the server 2 with the highest number in the area 1, ie, the server 2. Therefore, the FW needs to be loaded on the server 1, and the user traffic carried by the FW on the server 2 is migrated to the FW of the server 1, and then the FW of the server 2 is closed.
  • the free VM on server 2 can be divided into zone 2. Then, since there is an idle resource on the server with the largest label in the area 2, the VM can be directly allocated to the area 3.
  • the steps of the foregoing operations include the following steps: traversing all VNFs that have network resources on the entire server group, arranging them together to generate a current traffic deployment plan, and selecting a deployment plan that satisfies the minimum total traffic as the deployment plan that we will use.
  • a method for mapping a network function virtualization service chain under a ring network by dividing a region and mapping the same VNF in the same region, and performing a regional re-division method, solves the service chain traffic in the ring network.
  • the problem of reentry is generated, which improves the utilization and overall efficiency of bandwidth resources in the NFV resource allocation process.
  • FIG. 7 is a schematic diagram of an apparatus for virtualizing a service chain mapping of a network function under a ring network according to an embodiment of the present disclosure.
  • the apparatus for mapping a network function virtualization service chain under the ring network includes: a division module, an allocation module, and a deployment module.
  • the dividing module is configured to perform server group area pre-division on the VNF of the service chain.
  • the allocation module is configured to allocate a server participating in resource allocation in the NFV to the corresponding server group area.
  • the deployment module is configured to deploy the corresponding VNF on the server group area corresponding to each VNF in the service chain required by the user traffic when the user traffic is deployed.
  • the deployment module is configured to select a network function corresponding to each VNF corresponding to each VNF in the service chain required by the user traffic to be deployed by: determining the user traffic.
  • the server group area is re-divided, and the corresponding VNF on the corresponding divided server group area is selected for deployment.
  • the deployment module is configured to re-divide the server group area by: determining a server group area with the most remaining current resources; from the server group area where the current resource remains the most a server group area corresponding to each VNF in the service chain required by the user traffic, and sequentially assigning specified resources from each server group area to the next server group area in the label order until the specified resources are divided.
  • the server group area corresponding to each VNF on the service chain required for the user traffic is given.
  • the deployment module is configured to sequentially allocate a specified resource from each server group area to a next server group area by: the server group area ratio of the current resource remaining most The server group area corresponding to each VNF in the service chain required by the user traffic is closer to the traffic origination, and the specified resource is sequentially allocated to the next server group from the server with the largest label in each server group area. If the server with the largest label does not have an idle resource, the VNF running in the server with the highest label is opened on the other servers in the server group area, and the VNF of the server with the largest label is set.
  • the traffic on the VMF is migrated to the open VNF, and the specified resource is allocated to the next server group area from the server with the largest label; if the server group area with the most remaining current resources is more than the user traffic
  • the server group area corresponding to each VNF on the required service chain is far away from the traffic origination, and then from each The server with the lowest label in the server group area divides the specified resource into the next server group area. If the server with the lowest label does not have idle resources, then one of the other servers in the server group area is being opened.
  • VNF running in the server with the smallest label, the VNF of the server with the lowest label and the traffic on the VNF are migrated to the open VNF, and the specified resource is divided from the server with the smallest label to the next Server group area.
  • the dividing module comprises: a dividing unit, a mapping unit, and a selecting unit.
  • the dividing unit is configured to count the maximum length ⁇ of the NFV service chain in the ring network, and divide the server group into ⁇ server group areas.
  • the mapping unit is configured to traverse all the mapping manners according to the length of the service chain from long to short, and sequentially map the VNFs on the service chains and the server group regions.
  • the selecting unit is configured to compare the sum of the number of VNF types in each server group area in all mapping modes, and select a mapping relationship between the VNF of each service chain and the server group area in the mapping mode with the smallest sum.
  • the allocation module comprises: an estimating unit and an allocating unit.
  • the estimating unit is configured to estimate resources required for each VNF of the service chain and resources required for each of the server group areas.
  • the allocating unit is configured to sequentially allocate the server to the corresponding server group area according to the estimated resource according to the label order of the server.
  • the estimating unit is further configured to: estimate resources required by each virtual network function of the service chain and resources required for each of the server group areas by: following a customer-to-business The demand quantity of the chain, and the size of resources required by each VNF in the service chain when the user requests the service chain service, and estimate the resource size required by each VNF of the service chain; according to the resources required by each VNF of the service chain The size estimates the number of servers required for each of the server group areas.
  • An embodiment of the present disclosure further provides an apparatus for virtualizing a service chain mapping of a network function under a ring network, comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processing When the program is executed, the following steps are implemented: pre-partitioning the server group area of the VNF of the service chain; assigning the server participating in the resource allocation in the NFV to the corresponding server group area; and deploying the user traffic, The network function corresponding to each VNF corresponding to each VNF in the service chain required by the user traffic is selected for deployment.
  • the embodiment of the present disclosure further provides a computer readable storage medium storing computer executable instructions, when the computer executable instructions are executed, implementing network function virtualization under the ring network described in the embodiments of the present disclosure.
  • the method of mapping business chains is not limited to:

Abstract

Embodiments of this disclosure provide a method and apparatus for network functions virtualization service chain mapping in an annular network. The method comprises the following steps: performing server group region pre-partition on virtualized network functions of a service chain; allocating servers participating in resource allocation in network functions virtualization to a corresponding server group region; and during deployment of user traffic, selecting the corresponding virtualized network functions on the server group region corresponding to the virtualized network functions on the service chain required by the user traffic for deployment.

Description

环形组网下的网络功能虚拟化业务链映射的方法及装置Method and device for virtualizing service chain mapping of network function under ring network 技术领域Technical field
本公开实施例涉及但不限于网络通信技术领域,尤其涉及一种环形组网下的网络功能虚拟化业务链映射的方法及装置。Embodiments of the present disclosure relate to, but are not limited to, the field of network communication technologies, and in particular, to a method and apparatus for virtualizing a service chain mapping of a network function under a ring network.
背景技术Background technique
网络功能虚拟化(Network Functions Virtualization Infrastructure,简称NFV)技术是为了解决现有的通信设备通用性不足而提出的在x86服务器通用平台上通过虚拟化方式实现网络功能的技术。The Network Functions Virtualization Infrastructure (NFV) technology is a technology for realizing network functions by virtualizing on the x86 server common platform in order to solve the problem of the versatility of the existing communication devices.
在一些情况下,网络功能虚拟化业务链映射方法可以:先通过历史数据或者经验得到客户对每个虚拟化网络功能(Virtualized Network functions,VNF)需求的百分比,按百分比从大到小依次随机部署在不同的服务器上;接下来每当用户流量来临的时候,检查是否存在能使业务链不折返的虚拟机;如果存在,则选择该路径;如果不存在,则通过开启虚拟机的方式来纠正业务链路径。虚拟机开启的原则基于尽最大可能的原则。In some cases, the network function virtualization service chain mapping method may firstly obtain the percentage of the customer's demand for each virtualized network function (VNF) through historical data or experience, and randomly deploy from the largest to the smallest. On different servers; next time every user traffic comes, check if there is a virtual machine that can make the service chain not fold back; if it exists, select the path; if it does not exist, correct it by turning on the virtual machine Business chain path. The principle of virtual machine opening is based on the principle of maximization.
然而,可能存在以下问题:当某个服务器上的资源被使用完毕时,新开启的虚拟机(Virtual Machine,VM)到现有的运行VNF的VM的距离将比较大,这产生了业务链的折返。However, there may be the following problem: when the resources on a certain server are used, the newly opened virtual machine (VM) will have a larger distance to the existing VM running the VNF, which results in a business chain. Fold back.
发明内容Summary of the invention
根据本公开实施例,提供一种环形组网下的网络功能虚拟化业务链映射的方法,包括以下步骤:对业务链的虚拟网络功能进行服务器群组区域预划分;将网络功能虚拟化中参与资源分配的服务器分配到对应的所述服务器群组区域;以及对用户流量进行部署时,选择所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域上对应的虚拟网络功能进行部署。According to an embodiment of the present disclosure, a method for virtualizing a service chain mapping of a network function under a ring network includes the following steps: pre-partitioning a server group area for a virtual network function of a service chain; and participating in virtualizing a network function The server of the resource allocation is allocated to the corresponding server group area; and when the user traffic is deployed, the virtual network corresponding to the server group area corresponding to each virtual network function in the service chain required by the user traffic is selected. Features are deployed.
根据本公开实施例,提供一种环形组网下的网络功能虚拟化业 务链映射的装置,包括:划分模块,其设置为对业务链的虚拟网络功能进行服务器群组区域预划分;分配模块,其设置为将网络功能虚拟化中参与资源分配的服务器分配到对应的所述服务器群组区域;以及部署模块,其设置为对用户流量进行部署时,选择所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域上对应的虚拟网络功能进行部署。According to an embodiment of the present disclosure, an apparatus for virtualizing a service chain mapping of a network function under a ring network includes: a dividing module configured to perform pre-partitioning of a server group area for a virtual network function of a service chain; and an allocation module, It is configured to allocate a server participating in resource allocation in the network function virtualization to the corresponding server group area; and a deployment module configured to select the service chain required by the user traffic when deploying the user traffic The corresponding virtual network function on the server group area corresponding to each virtual network function is deployed.
根据本公开实施例,提供一种环形组网下的网络功能虚拟化业务链映射的装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:对业务链的虚拟网络功能进行服务器群组区域预划分;将网络功能虚拟化中参与资源分配的服务器分配到对应的所述服务器群组区域;以及对用户流量进行部署时,选择所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域上对应的网络功能进行部署。According to an embodiment of the present disclosure, an apparatus for virtualizing a service chain mapping of a network function under a ring network includes: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein The processor performs the following steps: performing server group area pre-division on the virtual network function of the service chain; assigning the server participating in the resource allocation in the network function virtualization to the corresponding server group area; When the user traffic is deployed, the corresponding network function on the server group area corresponding to each virtual network function in the service chain required by the user traffic is selected for deployment.
附图说明DRAWINGS
此处所说明的附图用来提供对本公开的进一步理解,并构成本申请的一部分。本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:The drawings described herein are provided to provide a further understanding of the present disclosure and constitute a part of this application. The illustrative embodiments of the present disclosure and the description thereof are for explaining the present disclosure and do not constitute an undue limitation of the present disclosure. In the drawing:
图1为根据本公开实施例的一种环形组网下的网络功能虚拟化业务链映射的方法的流程图;FIG. 1 is a flowchart of a method for virtualizing a service chain mapping of a network function under a ring network according to an embodiment of the present disclosure;
图2为根据本公开实施例的环形组网模式的示意图;2 is a schematic diagram of a ring networking mode in accordance with an embodiment of the present disclosure;
图3为根据本公开实施例的对业务链的虚拟网络功能进行服务器群区域预划分阶段的流程图;3 is a flowchart of a server group area pre-division phase for a virtual network function of a service chain according to an embodiment of the present disclosure;
图4为根据本公开实施例的VNF区域预划分的示例图;4 is a diagram showing an example of VNF region pre-division according to an embodiment of the present disclosure;
图5为根据本公开实施例的分配服务器阶段流程图;5 is a flow chart of a distribution server phase in accordance with an embodiment of the present disclosure;
图6为根据本公开实施例的服务器区域重划分流程图;以及6 is a flowchart of server area repartitioning according to an embodiment of the present disclosure;
图7为根据本公开实施例的一种环形组网下的网络功能虚拟化业务链映射的装置的示意图。FIG. 7 is a schematic diagram of an apparatus for virtualizing a service chain mapping of a network function under a ring network according to an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开的目的、技术方案和优点更加清楚明白,下文中将结合附图对本公开的实施例进行详细说明。需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互任意组合。The embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments in the present disclosure and the features in the embodiments may be arbitrarily combined with each other without conflict.
图1为根据本公开实施例的一种环形组网下的网络功能虚拟化业务链映射的方法的流程图。如图1所示,所述方法包括:步骤11、步骤12以及步骤13。FIG. 1 is a flowchart of a method for virtualizing a service chain mapping of a network function under a ring network according to an embodiment of the present disclosure. As shown in FIG. 1, the method includes: step 11, step 12, and step 13.
在步骤11,对业务链的VNF进行服务器群组区域预划分。In step 11, the server group area pre-division is performed on the VNF of the service chain.
在步骤12,将NFV中参与资源分配的服务器分配到对应的所述服务器群组区域。In step 12, a server participating in resource allocation in the NFV is allocated to the corresponding server group area.
在步骤13,对用户流量进行部署时,选择所述用户流量所需求的业务链上的各VNF对应的服务器群组区域上对应的网络功能进行部署。In step 13, when the user traffic is deployed, the corresponding network function on the server group area corresponding to each VNF in the service chain required by the user traffic is selected for deployment.
在一实施例中,选择所述用户流量所需求的业务链上的各VNF对应的服务器群组区域上对应的网络功能进行部署的步骤(步骤13)包括以下步骤:当确定所述用户流量所需求的业务链上的各VNF对应的服务器群组区域的空闲资源不足时,对所述服务器群组区域重划分,选择在重划分后的对应的服务器群组区域上对应的VNF进行部署。In an embodiment, the step of selecting a corresponding network function on the server group area corresponding to each VNF in the service chain required by the user traffic (step 13) includes the following steps: when determining the user traffic If the idle resources of the server group area corresponding to each VNF in the required service chain are insufficient, the server group area is re-divided, and the corresponding VNFs in the corresponding server group area after the re-division are selected for deployment.
在一实施例中,对所述服务器群组区域重划分的步骤包括以下步骤:确定当前资源剩余最多的服务器群组区域;以及从所述当前资源剩余最多的服务器群组区域至所述用户流量所需求的业务链上的各VNF对应的服务器群组区域,按标号顺序依次从每个服务器群组区域划分出指定资源给下一个服务器群组区域,直至将所述指定资源划分给所述用户流量所需求的业务链上的各VNF对应的服务器群组区域为止。In an embodiment, the step of re-division of the server group area comprises the steps of: determining a server group area with the most remaining current resources; and from the server group area with the most remaining current resources to the user traffic A server group area corresponding to each VNF in the required service chain, and sequentially assigns a specified resource from each server group area to the next server group area in the label order until the specified resource is allocated to the user The server group area corresponding to each VNF on the service chain required for traffic.
本公开实施例的方法可以提高环形组网模式下NFV资源映射的效率,减少网络流量的折返,综合考虑了CPU、内存资源的前提下有效提高NFV带宽资源利用率。The method of the embodiment of the present disclosure can improve the efficiency of NFV resource mapping in the ring networking mode, reduce the return of network traffic, and comprehensively consider the CPU and memory resources to effectively improve the NFV bandwidth resource utilization.
下面结合附图对本公开的实施方式进行说明。Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
图2为根据本公开实施例的环形组网模式的示意图。如图2所 示,在环形组网下NFV资源分配过程中,存在多个x86架构的服务器来承载VNF功能。数据流量从环形组网的起点始发,形成的虚拟网络业务链流量在环形网络中流动。每个服务器上运行有VM,而VNF就工作在VM之上。这就是环形组网模式下NFV资源分配的应用场景。2 is a schematic diagram of a ring networking mode in accordance with an embodiment of the present disclosure. As shown in Figure 2, during the NFV resource allocation process in the ring network, multiple x86-based servers exist to carry the VNF function. The data traffic originates from the starting point of the ring network, and the formed virtual network service chain traffic flows in the ring network. Each server has a VM running on it, and the VNF works on top of the VM. This is the application scenario of NFV resource allocation in ring networking mode.
本公开实施例的环形组网下网络功能虚拟化业务链映射的方法包括:业务链VNF区域预划分、分配服务器、业务链用户流量部署、检查整个服务器群组上是否存在空闲资源,对服务器进行区域重划分4个部分。The method for mapping the virtualized service chain of the network function in the ring network of the embodiment of the present disclosure includes: pre-sharing the service chain VNF area, allocating the server, deploying the traffic of the service chain, checking whether there are idle resources on the entire server group, and performing the server on the server. The area is subdivided into 4 parts.
对本公开实施例中采用的num xi、map ij、x k、n、VMNum ij等符号的含义说明如下。 The meanings of symbols such as num xi , map ij , x k , n , VMNum ij and the like used in the embodiments of the present disclosure are explained below.
num xi为业务链x第i种部署方式的标识符,用于判断每条业务链对区域的映射方式,其初始值为零。最长的业务链上包含有α个VNF,服务器群组也被划分成α个区域,域的编号记为1,2,…,α。业务链上各VNF的编号按其业务链顺序标记,如果有某种VNF被映射到区域k上去,则称区域k上存在此种VNF。 Num xi is the identifier of the i-th deployment mode of the service chain x. It is used to determine the mapping mode of each service chain to the area, and its initial value is zero. The longest service chain contains α VNFs, and the server group is also divided into α areas, and the number of the fields is recorded as 1, 2, ..., α. The numbers of the VNFs in the service chain are marked according to their service chain order. If a certain VNF is mapped to the area k, the VNF is said to exist on the area k.
map ij表示第i条业务链的第j个VNF被映射在的区域。ind ij表示第i条业务链上第j个VNF大致需要的VM个数。p i表示根据历史经验,用户对第i条业务链的需求。cap j表示单个VM能容纳第j种VNF的客户数量。 The map ij indicates the area in which the jth VNF of the i-th service chain is mapped. Ind ij represents the number of VMs that are roughly required by the jth VNF on the i-th service chain. p i represents the user's demand for the i-th business chain based on historical experience. Cap j represents the number of customers that a single VM can accommodate the jth VNF.
x k表示第k个区域上需要开启的VM数量。 x k represents the number of VMs that need to be opened on the kth area.
靠近流量始发处的服务器编号为服务器1,剩下的依次编号为2、3、4……t。The server number near the origin of the traffic is server 1, and the remaining numbers are 2, 3, 4...t.
n表示服务器群组上能开启的VM总个数。n represents the total number of VMs that can be opened on the server group.
VMNum ij表示第i条业务链中的第j个VNF需要的VM个数。 VMNum ij represents the number of VMs required by the jth VNF in the i-th service chain.
业务链的映射方式即为VNF映射的集合,所以某条业务链的某种映射方式即为VNF映射的各排列组合中的一种。另外,空闲的网络资源指的是已开启的VM上运行的VNF还能继续容纳客户流量的资源;而空闲资源指的是已开启VM而未加载VNF的资源,即未加载VNF的CPU和内存资源。The mapping mode of the service chain is a set of VNF mappings, so a certain mapping mode of a certain service chain is one of the permutation combinations of the VNF mapping. In addition, the idle network resource refers to the VNF running on the opened VM can continue to accommodate the resources of the customer traffic; and the idle resource refers to the resource that has the VM opened but not loaded with the VNF, that is, the CPU and memory that are not loaded with the VNF. Resources.
图3为根据本公开实施例的对业务链的虚拟网络功能进行服务 器群区域预划分阶段的流程图。如图3所示,对业务链的VNF进行服务器群区域预划分阶段,把各业务链按从长到短的顺序依次把其上的各VNF映射到环形组网上的各区域,让相同的VNF被映射到同一个区域去。上述过程包括:步骤101-步骤103。3 is a flow diagram of a server farm zone pre-partitioning phase of a virtual network function of a service chain in accordance with an embodiment of the present disclosure. As shown in FIG. 3, the server group pre-segmentation phase is performed on the VNF of the service chain, and each VNF is mapped to each area of the ring group network in order from long to short, so that the same VNF is obtained. Is mapped to the same area. The above process includes: Step 101 - Step 103.
在步骤101处,统计出环形网络中的NFV业务链的最大长度α,先将服务器群组划分成α个区域,并从长度最长的业务链开始进行顺序映射。At step 101, the maximum length α of the NFV service chain in the ring network is counted, and the server group is first divided into α areas, and the sequence mapping is started from the longest service chain.
在步骤102处,按照业务链长度由长到短的顺序依次映射其余业务链,在不违反业务链次序的前提下,遍历所有的映射方式,依次将各业务链上的VNF和所述服务器群组区域进行映射。At step 102, the remaining service chains are sequentially mapped according to the length of the service chain from long to short, and all the mapping modes are traversed without violating the order of the service chain, and the VNFs on the service chains and the server group are sequentially The group area is mapped.
在步骤103处,比较所有映射方式下各服务器群组区域中的VNF种类数的总和,选择所述总和最小的映射方式下各业务链的VNF和所述服务器群组区域的映射关系。At step 103, the sum of the number of VNF types in each server group area in all mapping modes is compared, and the mapping relationship between the VNF of each service chain and the server group area in the mapping mode with the smallest sum is selected.
执行步骤103的方式可以是:当遍历到第i种映射方式时,检查第i种映射方式中所有VNF的映射;当被映射的区域已存在此种VNF时,则将统计值num xi加1;在完成所有遍历之后,选取num xi最大的映射方式作为将要使用的映射方法;同时,记某区域i上VNF种类数为n i,选取n i总和最小的方式作为将要使用的映射方法,尽可能实现让相同的VNF被映射在同一个区域上去。 The method of step 103 may be: when traversing to the i-th mapping mode, checking the mapping of all VNFs in the i-th mapping mode; when such a VNF already exists in the mapped region, adding the statistical value num xi to 1 After all traversal is completed, select the maximum mapping mode of num xi as the mapping method to be used; at the same time, remember that the number of VNF types on a certain area i is n i , and the method of selecting the smallest sum of n i as the mapping method to be used is exhausted. It is possible to have the same VNF mapped to the same area.
举例来说,假设用户所需求的VNF种类共有以下两种:其一,DPI-FW-NAT,其二,FW-NAT。图4示出了此种情况下VNF区域预划分的示例。For example, suppose that the VNF types required by the user are the following two: one, DPI-FW-NAT, and second, FW-NAT. Fig. 4 shows an example of pre-division of the VNF region in this case.
在本公开实施例中,环形网络中共存在三种需要被映射的业务:深度包检测(Deeply Packet Inspection,简称DPI)、防火墙(Firewall,简称FW)及网络地址转换(Network Address Translation,简称NAT)。如图4所示,本公开实施例中,将服务器群组划分为3个区域。对于映射业务链DPI-FW-NAT,该业务链有且只有一种映射方式,即该业务链上DPI将被映射在区域1上,FW将被映射在区域2上,NAT将被映射在区域3上。In the embodiment of the present disclosure, there are three types of services that need to be mapped in the ring network: Deep Packet Inspection (DPI), Firewall (FW), and Network Address Translation (NAT). . As shown in FIG. 4, in the embodiment of the present disclosure, the server group is divided into three regions. For the mapping service chain DPI-FW-NAT, the service chain has one and only one mapping mode, that is, the DPI on the service chain will be mapped on the area 1, the FW will be mapped on the area 2, and the NAT will be mapped in the area. 3 on.
对于映射业务链FW-NAT,该业务链在满足映射策略的前提下, 一共有3种映射方式,分别为:For the mapping service chain FW-NAT, under the premise that the service chain satisfies the mapping policy, there are three mapping modes:
1)FW映射在区域1上,NAT映射在区域2上;1) FW mapping is on area 1, and NAT is mapped on area 2;
2)FW映射在区域1上,NAT映射在区域3上;以及2) FW mapping is on area 1, NAT is mapped on area 3;
3)FW映射在区域2上,NAT映射在区域3上。3) The FW map is on area 2 and the NAT is mapped on area 3.
接下来,分别计算三种映射方式中,各区域存在的VNF数量以及总和:Next, calculate the number and sum of VNFs in each of the three mapping modes:
1)区域1上存在2种VNF,区域2上存在2种VNF,区域3上存在1种VNF,共计5种;1) There are two kinds of VNF in region 1, two kinds of VNF in region 2, and one kind of VNF in region 3, a total of five kinds;
2)区域1上存在2种VNF,区域2上存在1种VNF,区域3上存在1种VNF,共计4种;以及2) There are two kinds of VNFs in region 1, one VNF in region 2, and one VNF in region 3, for a total of four species;
3)区域1上存在1种VNF,区域2上存在1种VNF,区域3上存在1种VNF,共计3种。3) There is one VNF in the region 1, one VNF in the region 2, and one VNF in the region 3, and a total of three kinds.
经过比较上述3种映射方式各区域VNF种类数的总和,本公开实施例将选择VNF种类数的总和最小的第3种映射方式作为将要使用的映射方法。By comparing the sum of the number of VNF types in each of the three types of mapping methods, the third embodiment of the present disclosure selects the third mapping method that minimizes the sum of the number of VNF types as the mapping method to be used.
图5为根据本公开实施例的分配服务器阶段流程图。如图5所示,在分配服务器阶段,将根据以往客户对各业务链的需求量,以及当用户请求业务链服务时该业务链上各VNF所需要占用资源的大小,首先估算出业务链各VNF所需要的资源大小,接下来根据上述步骤得出的业务链对区域的映射关系,进一步估算出每个服务器群组区域所需要的资源大小。所述估算步骤包括:步骤201-步骤204。FIG. 5 is a flow chart of a distribution server phase in accordance with an embodiment of the present disclosure. As shown in FIG. 5, in the allocation server stage, the service chain is first estimated according to the demand of the customer for each service chain and the size of the resources required by each VNF in the service chain when the user requests the service chain service. The size of the resources required by the VNF, and then according to the mapping relationship of the service chain to the area obtained by the above steps, further estimate the resource size required for each server group area. The estimating step includes: Step 201 - Step 204.
在步骤201处,计算每条业务链中的每个VNF需要的VM的个数ind ij,如果第i条业务链上不存在第j种VNF,则ind ij=0;否则,根据用户对第i条业务链的需求p i,结合单个VM能容纳第j种VNF的客户数量cap j,计算出ind ij=p i/cap j,并取整。 At step 201, the number of VMs ind ij required for each VNF in each service chain is calculated. If the jth VNF does not exist on the i-th service chain, ind ij =0; otherwise, according to the user p i i demand chain lines of business, in conjunction with a single VM can accommodate VNF j th number of customers CAP j, calculated ind ij = p i / cap j , and rounding.
在本公开实施例中,首先,设DPI的标号为1,FW的标号为2,NAT的标号为3;记业务链DPI-FW-NAT为业务链1,业务链FW-NAT为业务链2。然后,首先计算ind 11,再依次计算ind 12、ind 13、ind 21、ind 22,ind 23,其中,ind 23的值为0,即业务链2上不存在第3种VNF。 In the embodiment of the present disclosure, first, the DPI is labeled 1, the FW is 2, the NAT is 3, the service chain DPI-FW-NAT is the service chain 1, and the service chain FW-NAT is the service chain 2. . Then, ind 11 is first calculated, and ind 12 , ind 13 , ind 21 , ind 22 , ind 23 are calculated in turn, wherein the value of ind 23 is 0, that is, the third VNF does not exist on the service chain 2.
在步骤202处,根据ind ij和服务器群组上能开启的VM总个数n, 则可以计算出第i条业务链中的第j个VNF需要的VM个数VMNum ij
Figure PCTCN2018109498-appb-000001
并取整。
At step 202, based on the ind ij and the total number n of VMs that can be opened on the server group, the number of VMs VMNum ij required for the jth VNF in the i-th service chain can be calculated:
Figure PCTCN2018109498-appb-000001
And rounded up.
在本公开实施例中,计算出第1条业务链中的第1个VNF需要的VM个数
Figure PCTCN2018109498-appb-000002
其中,
Figure PCTCN2018109498-appb-000003
表示所有ind ij的总和。
In the embodiment of the present disclosure, the number of VMs required for the first VNF in the first service chain is calculated.
Figure PCTCN2018109498-appb-000002
among them,
Figure PCTCN2018109498-appb-000003
Represents the sum of all ind ij .
上式的意思为,单个VNF所需要的VM数量比上服务器上VM的总数量是等于该VNF的标识符的值比上所有标识符的值的总和,即每个业务链的各VNF所需要的资源大小与标识符的值成正比。The above formula means that the number of VMs required for a single VNF is equal to the total number of VMs on the server equal to the sum of the values of the identifiers of the VNFs than the values of all the identifiers, that is, the VNFs required for each service chain. The resource size is proportional to the value of the identifier.
在步骤203处,定义第i条业务链的第j个VNF将被映射到区域值为map ij,根据VNF所需的资源大小VMNum ij和VNF对区域的映射关系map ij,计算出第k个区域上需要开启的VM数量x k,具体方法是首先令x k=0,接着遍历map ij,在遍历过程中如果map ij=k,那么x k=x k+VMNum ijAt step 203, the jth VNF defining the i-th service chain is mapped to the region value map ij , and the kth is calculated according to the resource size VMNum ij and the VNF mapping relationship map ij required by the VNF. The number of VMs x k to be opened on the area is first to make x k =0, then traverse map ij , if map ij = k during traversal, then x k = x k + VMNum ij .
在本公开实施例中,计算出第1个区域上需要开启的VM数量x 1,首先令x 1=0,接着遍历map ij,因为仅有map 11=1,所以x 1的最终值为2。 In the embodiment of the present disclosure, the number of VMs to be turned on in the first region x 1 is calculated, first let x 1 =0, then traverse map ij , because only map 11 =1, the final value of x 1 is 2 .
在步骤204处,确定区域k对应的服务器群组,按照顺序规则放置,标号小的区域优先放置在标号小的服务器上。At step 204, it is determined that the server group corresponding to the area k is placed in accordance with the order rule, and the area marked with a small number is preferentially placed on the server with a small label.
本公开实施例中,将服务器1分配到区域1;将服务器2和服务器3分配到区域2上;将服务器4和服务器5分配到区域3上。In the embodiment of the present disclosure, the server 1 is assigned to the area 1; the server 2 and the server 3 are assigned to the area 2; and the server 4 and the server 5 are assigned to the area 3.
例如,假设现在单个VM上加载的VNF能承载的用户数量均相同,每个VM上能承载500个用户流量;假设用户对两种业务链的需求相同;假设该场景下总共存在5台服务器,每台服务器上能开启2个VM。根据经验,很容易计算出所有业务链上的每个VNF均需要2个VM大小的资源。根据业务链VNF区域预划分阶段的结果,区域1所需VM的数量为2,区域2所需VM的数量为4,区域3所需VM的数量为4。For example, suppose that the number of users that can be carried by a VNF loaded on a single VM is the same, and each VM can carry 500 user traffic; it is assumed that the user has the same demand for the two service chains; assuming that there are a total of five servers in the scenario, Two VMs can be turned on per server. Based on experience, it is easy to calculate that each VNF on all service chains requires 2 VM-sized resources. According to the result of the pre-segmentation phase of the VNF region of the service chain, the number of VMs required for the region 1 is 2, the number of VMs required for the region 2 is 4, and the number of VMs required for the region 3 is 4.
在服务器分配完成后,每当有用户流量来临的时候,则需要对用户流量进行部署,用户流量的部署按照VNF使用其映射区域的资源这一原则进行。所述部署过程可以包括如下4个步骤。After the server is allocated, whenever user traffic comes, the user traffic needs to be deployed. The deployment of user traffic is based on the principle that the VNF uses the resources of its mapped area. The deployment process can include the following four steps.
1)检查业务链上每个VNF所对应的区域,假设当前业务链编号为i,遍历标号为j∈[1……α]的VNF,α是编号为i的业务链的长度。1) Check the area corresponding to each VNF in the service chain, assuming that the current service chain number is i, traverse the VNF with the label j∈[1...α], and α is the length of the service chain numbered i.
2)如果map ij为0,则进行下一次遍历,否则,检查区域map ij中第j种VNF的网络资源是否充足,如果不充足,则跳转至步骤3)。如果资源充足,进行下一次遍历。 2) If map ij is 0, the next traversal is performed; otherwise, it is checked whether the network resource of the jth VNF in the area map ij is sufficient, and if not, the process jumps to step 3). If the resources are sufficient, proceed to the next traversal.
3)检查map ij区域中是否还存在空闲资源(即是否还有VM上未加载VNF)。如果不存在空闲资源,则准备服务器区域重划分;如果存在,则加载相应的VNF,并且如果j小于α,则j=j+1,并跳转至步骤2)。 3) Check if there are still free resources in the map ij area (that is, if there is still no VNF loaded on the VM). If there is no idle resource, the server area is repartitioned; if it exists, the corresponding VNF is loaded, and if j is smaller than α, j=j+1, and jumps to step 2).
4)部署用户流量。经过上述的遍历,每个VNF所对应的区域均存在充足的网络资源,用户流量将选择其需求的业务链上各VNF所映射的服务器作为流量将要经过的路线。4) Deploy user traffic. After the above traversal, there are sufficient network resources in the area corresponding to each VNF, and the user traffic will select the server mapped by each VNF in the required service chain as the route through which the traffic will pass.
图6为根据本公开实施例的服务器区域重划分流程图。如图6所示,如果某区域的空闲资源不足,则实施服务器区域重划分,其步骤包括:步骤301-步骤303。6 is a flow diagram of server area repartitioning in accordance with an embodiment of the present disclosure. As shown in FIG. 6, if the idle resources of a certain area are insufficient, the server area is re-divided, and the steps include: Step 301-Step 303.
在步骤301处,确定当前资源剩余最多的服务器群组区域。At step 301, a server group area with the most remaining resources is determined.
判断当前资源剩余最多的服务器群组区域,并将其记为x free;判断x free和缺乏资源的服务器群组区域x short的相对位置,设靠近用户流量始发处的区域为前,如果x free在x short之前,则执行步骤302,否则,执行步骤303。 Determine the server group area with the most remaining resources, and record it as x free ; judge the relative position of x free and the server group area x short lacking resources, and set the area close to the user traffic origin as the front, if x free before x short, step 302 is executed, otherwise, step 303.
从所述当前资源剩余最多的服务器群组区域至所述用户流量所需求的业务链上的各VNF对应的服务器群组区域,按标号顺序依次从每个服务器群组区域划分出指定资源给下一个服务器群组区域,直至将所述指定资源划分给所述用户流量所需求的业务链上的各VNF对应的服务器群组区域为止,如步骤302和步骤303。From the server group area where the current resource remains the most to the server group area corresponding to each VNF on the service chain required by the user traffic, the specified resources are sequentially allocated from each server group area in the label order. A server group area, until the specified resource is allocated to the server group area corresponding to each VNF on the service chain required by the user traffic, as in step 302 and step 303.
在步骤302处,最靠近流量始发处的服务器编号为服务器1,剩下的依次编号为2、3、4……t。首先将x free中标号最大的服务器,划分出能开启一个VM的资源给x free+1。如果服务器标号最大的区域中,不存在空闲资源,则在该服务器群组区域的别的服务器上开启一 个正在标号最大的服务器上运行的VNF,将标号最大的服务器上的VNF及其上面的流量迁移过去。这样,标号最大服务器中,即可存在空闲资源。然后,再划分出能开启一个VM的资源给x free+1。 At step 302, the server number closest to the origin of the traffic is server 1, and the remaining numbers are numbered 2, 3, 4...t. First, the server with the largest label in x free is divided into resources that can open a VM to x free +1. If there is no idle resource in the area with the largest server label, open a VNF running on the server with the highest label on the other server in the server group area, and the VNF on the server with the highest label and the traffic above it. Migrating in the past. Thus, in the label maximum server, there can be idle resources. Then, divide the resources that can open a VM to x free +1.
对x free+1和x free+2等服务器群组区域也执行同样的操作,一直至重划分的目标区域x short。此时,就相当于将x free的资源划分给了x short,并且保证了区域连续性。 The same operation is performed on the server group area such as x free +1 and x free +2 until the target area x short is re-divided. At this point, it is equivalent to dividing x free resources into x short and guaranteeing regional continuity.
在步骤303处,最靠近流量始发处的服务器编号为服务器1,剩下的依次编号为2、3、4……t。首先,将x free中标号最小的服务器,划分出能开启一个VM的资源给x free-1。如果服务器标号最小的区域中,不存在空闲的资源,那么则在该区域的别的服务器上开启一个正在标号最小的服务器上运行的VNF,将标号最小的服务器上的VNF及其上面的流量迁移过去。这样,标号最小服务器中,即可存在空闲资源;对x free-1和x free-2等服务器群组区域顺序执行同样的操作,一直至重划分的目标区域x short。此时,就相当于将x free的资源划分给了x short,并且保证了区域连续性。 At step 303, the server number closest to the origin of the traffic is server 1, and the remaining numbers are numbered 2, 3, 4...t. First, divide the server with the smallest label in x free into a resource that can open a VM to x free -1. If there is no free resource in the area with the smallest server label, then open a VNF running on the server with the lowest label on the other server in the area, and migrate the VNF on the server with the lowest label and the traffic above it. past. Thus, in the minimum number of servers, there can be idle resources; the same operation is performed on the server group areas such as x free -1 and x free -2 until the target area x short is re-divided. At this point, it is equivalent to dividing x free resources into x short and guaranteeing regional continuity.
例如,在本公开实施例中,假设区域1上存在空闲资源,而区域3上缺乏空闲资源,将区域1上的空闲资源重划分给区域3上的步骤可以包括以下步骤a)和b)。For example, in the embodiment of the present disclosure, assuming that there are idle resources on the area 1, and there is no idle resource on the area 3, the step of re-allocating the idle resources on the area 1 to the area 3 may include the following steps a) and b).
在步骤a),将区域1记为x free;判断x free和缺乏资源的区域x short的相对位置,因为x free即区域1在x short区域3之前,执行步骤b)。 In step a), the area 1 is denoted as x free ; the relative position of the x free and the resource lacking area x short is judged, since x free , that is, the area 1 is before the x short area 3, step b) is performed.
在步骤b),因为区域1中标号最大的服务器即服务器2上不存在空闲资源。所以,需要在服务器1上加载FW,并把服务器2上FW所承载的用户流量迁移到服务器1的FW上,然后关闭服务器2的FW。接下来,即可把服务器2上的空闲VM划分给区域2。再接下来,因为区域2中标号最大的服务器上存在空闲资源,直接将此VM划分给区域3即可。In step b), there is no free resource on the server 2 with the highest number in the area 1, ie, the server 2. Therefore, the FW needs to be loaded on the server 1, and the user traffic carried by the FW on the server 2 is migrated to the FW of the server 1, and then the FW of the server 2 is closed. Next, the free VM on server 2 can be divided into zone 2. Then, since there is an idle resource on the server with the largest label in the area 2, the VM can be directly allocated to the area 3.
完成上述步骤之后,需要重新对业务链的用户流量进行二次部署,实际实现业务链的具体VNF的映射。上述操作的步骤包括以下步骤:遍历整个服务器群组上所有还存在网络资源的VNF,将其排列组合生成当前流量的部署方案,选择满足总流量最小的部署方案作为我 们将要使用的部署方案。After the above steps are completed, the user traffic of the service chain needs to be re-deployed to implement the mapping of the specific VNF of the service chain. The steps of the foregoing operations include the following steps: traversing all VNFs that have network resources on the entire server group, arranging them together to generate a current traffic deployment plan, and selecting a deployment plan that satisfies the minimum total traffic as the deployment plan that we will use.
根据本公开提出的一种环形组网下网络功能虚拟化业务链映射方法,通过对区域进行划分和相同VNF在同一区域内映射,加以区域重划分方法,解决了环形组网中业务链流量会产生折返这一问题,提高了NFV资源分配过程中带宽资源的利用率和总体效率。According to the present disclosure, a method for mapping a network function virtualization service chain under a ring network, by dividing a region and mapping the same VNF in the same region, and performing a regional re-division method, solves the service chain traffic in the ring network. The problem of reentry is generated, which improves the utilization and overall efficiency of bandwidth resources in the NFV resource allocation process.
图7为根据本公开实施例的一种环形组网下的网络功能虚拟化业务链映射的装置的示意图。如图7所示,本公开实施例所提供的环形组网下的网络功能虚拟化业务链映射的装置包括:划分模块、分配模块以及部署模块。FIG. 7 is a schematic diagram of an apparatus for virtualizing a service chain mapping of a network function under a ring network according to an embodiment of the present disclosure. As shown in FIG. 7 , the apparatus for mapping a network function virtualization service chain under the ring network provided by the embodiment of the present disclosure includes: a division module, an allocation module, and a deployment module.
所述划分模块设置为对业务链的VNF进行服务器群组区域预划分。The dividing module is configured to perform server group area pre-division on the VNF of the service chain.
所述分配模块设置为将NFV中参与资源分配的服务器分配到对应的所述服务器群组区域。The allocation module is configured to allocate a server participating in resource allocation in the NFV to the corresponding server group area.
所述部署模块设置为对用户流量进行部署时,选择所述用户流量所需求的业务链上的各VNF对应的服务器群组区域上对应的VNF进行部署。The deployment module is configured to deploy the corresponding VNF on the server group area corresponding to each VNF in the service chain required by the user traffic when the user traffic is deployed.
在一实施例中,所述部署模块设置为通过以下操作来选择所述用户流量所需求的业务链上的各VNF对应的服务器群组区域上对应的网络功能进行部署:当确定所述用户流量所需求的业务链上的各VNF对应的服务器群组区域的空闲资源不足时,对所述服务器群组区域重划分,选择在重划分后的对应的服务器群组区域上对应的VNF进行部署。In an embodiment, the deployment module is configured to select a network function corresponding to each VNF corresponding to each VNF in the service chain required by the user traffic to be deployed by: determining the user traffic. When the idle resources of the server group area corresponding to each VNF in the required service chain are insufficient, the server group area is re-divided, and the corresponding VNF on the corresponding divided server group area is selected for deployment.
在一实施例中,所述部署模块设置为通过以下操作来对所述服务器群组区域重划分:确定当前资源剩余最多的服务器群组区域;从所述当前资源剩余最多的服务器群组区域至所述用户流量所需求的业务链上的各VNF对应的服务器群组区域,按标号顺序依次从每个服务器群组区域划分出指定资源给下一个服务器群组区域,直至将所述指定资源划分给所述用户流量所需求的业务链上的各VNF对应的服务器群组区域为止。In an embodiment, the deployment module is configured to re-divide the server group area by: determining a server group area with the most remaining current resources; from the server group area where the current resource remains the most a server group area corresponding to each VNF in the service chain required by the user traffic, and sequentially assigning specified resources from each server group area to the next server group area in the label order until the specified resources are divided. The server group area corresponding to each VNF on the service chain required for the user traffic is given.
在一实施例中,所述部署模块设置为通过以下操作来依次从每 个服务器群组区域划分出指定资源给下一个服务器群组区域:如所述当前资源剩余最多的服务器群组区域比所述用户流量所需求的业务链上的各VNF对应的服务器群组区域更靠近流量始发处,则依次从每个服务器群组区域中标号最大的服务器中划分出指定资源给下一个服务器群组区域,如所述标号最大的服务器不存在空闲资源,则在该服务器群组区域中其它服务器上开启一个正在所述标号最大的服务器中运行的VNF,将所述标号最大的服务器的所述VNF及其上的流量迁移至所述开启的VNF上,再从标号最大的服务器中划分出指定资源给下一个服务器群组区域;如所述当前资源剩余最多的服务器群组区域比所述用户流量所需求的业务链上的各VNF对应的服务器群组区域远离流量始发处,则依次从每个服务器群组区域中标号最小的服务器中划分出指定资源给下一个服务器群组区域,如所述标号最小的服务器不存在空闲资源,则在该服务器群组区域中其它服务器上开启一个正在所述标号最小的服务器中运行的VNF,将所述标号最小的服务器的所述VNF及其上的流量迁移至所述开启的VNF上,再从所述标号最小的服务器中划分出指定资源给下一个服务器群组区域。In an embodiment, the deployment module is configured to sequentially allocate a specified resource from each server group area to a next server group area by: the server group area ratio of the current resource remaining most The server group area corresponding to each VNF in the service chain required by the user traffic is closer to the traffic origination, and the specified resource is sequentially allocated to the next server group from the server with the largest label in each server group area. If the server with the largest label does not have an idle resource, the VNF running in the server with the highest label is opened on the other servers in the server group area, and the VNF of the server with the largest label is set. And the traffic on the VMF is migrated to the open VNF, and the specified resource is allocated to the next server group area from the server with the largest label; if the server group area with the most remaining current resources is more than the user traffic The server group area corresponding to each VNF on the required service chain is far away from the traffic origination, and then from each The server with the lowest label in the server group area divides the specified resource into the next server group area. If the server with the lowest label does not have idle resources, then one of the other servers in the server group area is being opened. VNF running in the server with the smallest label, the VNF of the server with the lowest label and the traffic on the VNF are migrated to the open VNF, and the specified resource is divided from the server with the smallest label to the next Server group area.
在一实施例中,所述划分模块包括:划分单元、映射单元以及选择单元。In an embodiment, the dividing module comprises: a dividing unit, a mapping unit, and a selecting unit.
所述划分单元设置为统计出环形组网中的NFV业务链的最大长度α,将服务器群组划分成α个服务器群组区域。The dividing unit is configured to count the maximum length α of the NFV service chain in the ring network, and divide the server group into α server group areas.
所述映射单元设置为按照业务链长度由长到短的顺序,遍历所有的映射方式,依次将各业务链上的VNF和所述服务器群组区域进行映射。The mapping unit is configured to traverse all the mapping manners according to the length of the service chain from long to short, and sequentially map the VNFs on the service chains and the server group regions.
所述选择单元设置为比较所有映射方式下各服务器群组区域中的VNF种类数的总和,选择所述总和最小的映射方式下各业务链的VNF和所述服务器群组区域的映射关系。The selecting unit is configured to compare the sum of the number of VNF types in each server group area in all mapping modes, and select a mapping relationship between the VNF of each service chain and the server group area in the mapping mode with the smallest sum.
在一实施例中,所述分配模块包括:估算单元以及分配单元。In an embodiment, the allocation module comprises: an estimating unit and an allocating unit.
所述估算单元设置为估算所述业务链各VNF所需的资源及每个所述服务器群组区域所需的资源。The estimating unit is configured to estimate resources required for each VNF of the service chain and resources required for each of the server group areas.
所述分配单元设置为根据所述估算的资源按照服务器的标号顺 序,依次将服务器分配到对应的所述服务器群组区域。The allocating unit is configured to sequentially allocate the server to the corresponding server group area according to the estimated resource according to the label order of the server.
在一实施例中,所述估算单元还设置为通过以下操作来估算所述业务链各虚拟网络功能所需的资源及每个所述服务器群组区域所需的资源:根据以往客户对各业务链的需求量,以及用户请求业务链服务时该业务链上各VNF所需要占用资源的大小,估算出所述业务链各VNF所需的资源大小;根据所述业务链各VNF所需的资源大小估算出每个所述服务器群组区域所需要的服务器的数量。In an embodiment, the estimating unit is further configured to: estimate resources required by each virtual network function of the service chain and resources required for each of the server group areas by: following a customer-to-business The demand quantity of the chain, and the size of resources required by each VNF in the service chain when the user requests the service chain service, and estimate the resource size required by each VNF of the service chain; according to the resources required by each VNF of the service chain The size estimates the number of servers required for each of the server group areas.
本公开实施例还提供一种环形组网下的网络功能虚拟化业务链映射的装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述程序时实现以下步骤:对业务链的VNF进行服务器群组区域预划分;将NFV中参与资源分配的服务器分配到对应的所述服务器群组区域;以及对用户流量进行部署时,选择所述用户流量所需求的业务链上的各VNF对应的服务器群组区域上对应的网络功能进行部署。An embodiment of the present disclosure further provides an apparatus for virtualizing a service chain mapping of a network function under a ring network, comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processing When the program is executed, the following steps are implemented: pre-partitioning the server group area of the VNF of the service chain; assigning the server participating in the resource allocation in the NFV to the corresponding server group area; and deploying the user traffic, The network function corresponding to each VNF corresponding to each VNF in the service chain required by the user traffic is selected for deployment.
本公开实施例还提供了一种计算机可读存储介质,其存储有计算机可执行指令,所述计算机可执行指令被执行时实现本公开各实施例中所述的环形组网下的网络功能虚拟化业务链映射的方法。The embodiment of the present disclosure further provides a computer readable storage medium storing computer executable instructions, when the computer executable instructions are executed, implementing network function virtualization under the ring network described in the embodiments of the present disclosure. The method of mapping business chains.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现。相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本公开不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. All or part of the steps of the above embodiments may also be implemented using one or more integrated circuits. Correspondingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware or in the form of a software function module. The present disclosure is not limited to any specific form of combination of hardware and software.
以上仅为本公开的示例性实施例。当然,本公开还可有其他多种实施例。在不背离本公开精神及其实质的情况下,熟悉本领域的技术人员当可根据本公开作出各种相应的改变和变形,但这些相应的改变和变形都应属于本公开所附的权利要求的保护范围。The above is merely an exemplary embodiment of the present disclosure. Of course, there are other various embodiments of the present disclosure. A person skilled in the art can make various corresponding changes and modifications in accordance with the present disclosure without departing from the spirit and scope of the disclosure, but the corresponding changes and modifications should be included in the claims appended to the present disclosure. The scope of protection.

Claims (15)

  1. 一种环形组网下的网络功能虚拟化业务链映射的方法,包括以下步骤:A method for virtualizing a service chain mapping of a network function under a ring network includes the following steps:
    对业务链的虚拟网络功能进行服务器群组区域预划分;Pre-partitioning the server group area for the virtual network function of the service chain;
    将网络功能虚拟化中参与资源分配的服务器分配到对应的所述服务器群组区域;以及Allocating a server participating in resource allocation in network function virtualization to the corresponding server group area;
    对用户流量进行部署时,选择所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域上对应的虚拟网络功能进行部署。When the user traffic is deployed, the corresponding virtual network function corresponding to each virtual network function in the service chain required by the user traffic is selected for deployment.
  2. 如权利要求1所述的方法,其中,所述选择所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域上对应的网络功能进行部署的步骤包括以下步骤:The method of claim 1, wherein the step of selecting the corresponding network function on the server group area corresponding to each virtual network function on the service chain required by the user traffic comprises the following steps:
    当确定所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域的空闲资源不足时,对所述服务器群组区域重划分,选择在重划分后的对应的服务器群组区域上对应的虚拟网络功能进行部署。When it is determined that the idle resource of the server group area corresponding to each virtual network function in the service chain required by the user traffic is insufficient, the server group area is re-divided, and the corresponding server group after the re-division is selected. The corresponding virtual network function in the area is deployed.
  3. 如权利要求2所述的方法,其中,所述对所述服务器群组区域重划分的步骤包括以下步骤:The method of claim 2 wherein said step of repartitioning said server group area comprises the steps of:
    确定当前资源剩余最多的服务器群组区域;以及Determine the server group area where the current resources remain the most; and
    从所述当前资源剩余最多的服务器群组区域至所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域,按标号顺序依次从每个服务器群组区域划分出指定资源给下一个服务器群组区域,直至将所述指定资源划分给所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域为止。From the server group area where the current resource remains the most to the server group area corresponding to each virtual network function on the service chain required by the user traffic, the designated resources are sequentially divided from each server group area in the label order. The next server group area is allocated until the specified resource is allocated to the server group area corresponding to each virtual network function on the service chain required by the user traffic.
  4. 如权利要求3所述的方法,其中,所述依次从每个服务器群组区域划分出指定资源给下一个服务器群组区域的步骤包括以下步 骤:The method of claim 3, wherein the step of sequentially dividing the designated resource from each server group area to the next server group area comprises the following steps:
    如所述当前资源剩余最多的服务器群组区域比所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域更靠近流量始发处,则依次从每个服务器群组区域中标号最大的服务器中划分出指定资源给下一个服务器群组区域,如所述标号最大的服务器不存在空闲资源,则在该服务器群组区域中其它服务器上开启一个正在所述标号最大的服务器中运行的虚拟网络功能,将所述标号最大的服务器的所述虚拟网络功能及其上的流量迁移至所述开启的虚拟网络功能上,再从标号最大的服务器中划分出指定资源给下一个服务器群组区域;以及If the server group area with the most remaining current resources is closer to the traffic originating area than the server group area corresponding to each virtual network function on the service chain required by the user traffic, then each server group area is sequentially obtained. The server with the largest label divides the specified resource into the next server group area. If the server with the largest label does not have idle resources, the server with the largest label is opened on the other servers in the server group area. The virtual network function running in the server migrates the virtual network function of the server with the largest label and the traffic on the virtual network function to the opened virtual network function, and then allocates the specified resource from the server with the largest label to the next one. Server group area;
    如所述当前资源剩余最多的服务器群组区域比所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域远离流量始发处,则依次从每个服务器群组区域中标号最小的服务器中划分出指定资源给下一个服务器群组区域,如所述标号最小的服务器不存在空闲资源,则在该服务器群组区域中其它服务器上开启一个正在所述标号最小的服务器中运行的虚拟网络功能,将所述标号最小的服务器的所述虚拟网络功能及其上的流量迁移至所述开启的虚拟网络功能上,再从所述标号最小的服务器中划分出指定资源给下一个服务器群组区域。If the server group area corresponding to the current resource remaining is greater than the server group area corresponding to each virtual network function in the service chain required by the user traffic, the server group area is away from the traffic origination, and then the server group area is sequentially marked. The server with the smallest number divides the specified resource into the next server group area. If the server with the lowest label does not have idle resources, open a server with the lowest label in other servers in the server group area. Running the virtual network function, migrating the virtual network function of the server with the lowest label and the traffic on the virtual network function to the opened virtual network function, and then dividing the specified resource from the server with the smallest label to the next A server group area.
  5. 如权利要求1所述的方法,其中,所述对业务链的虚拟网络功能进行服务器群区域预划分的步骤包括以下步骤:The method of claim 1 wherein said step of pre-partitioning server farm regions for virtual network functions of the service chain comprises the steps of:
    统计出环形组网中的网络功能虚拟化业务链的最大长度α,将服务器群组划分成α个服务器群组区域;Counting the maximum length α of the network function virtualization service chain in the ring network, and dividing the server group into α server group areas;
    按照业务链长度由长到短的顺序,遍历所有的映射方式,依次将各业务链上的虚拟网络功能和所述服务器群组区域进行映射;以及Tracing all mapping modes according to the length of the service chain from long to short, and sequentially mapping the virtual network functions on each service chain with the server group area;
    比较所有映射方式下各服务器群组区域中的虚拟网络功能种类数的总和,选择所述总和最小的映射方式下各业务链的虚拟网络功能和所述服务器群组区域的映射关系。Comparing the sum of the number of virtual network function types in each server group area in all mapping modes, and selecting the mapping relationship between the virtual network function of each service chain and the server group area in the mapping mode with the smallest sum.
  6. 如权利要求1所述的方法,其中,所述将网络功能虚拟化中参与资源分配的服务器分配到对应的所述服务器群组区域的步骤包括以下步骤:The method of claim 1, wherein the step of assigning a server participating in resource allocation in network function virtualization to the corresponding server group area comprises the steps of:
    估算所述业务链各虚拟网络功能所需的资源及每个所述服务器群组区域所需的资源;以及Estimating the resources required for each virtual network function of the service chain and the resources required for each of the server group areas;
    根据所述估算的资源按照服务器的标号顺序,依次将服务器分配到对应的所述服务器群组区域。And assigning the server to the corresponding server group area in sequence according to the estimated resources according to the labeling order of the server.
  7. 如权利要求6所述的方法,其中,所述估算所述业务链各虚拟网络功能所需的资源及每个所述服务器群组区域所需的资源的步骤包括以下步骤:The method of claim 6 wherein said step of estimating resources required for each virtual network function of said service chain and resources required for each of said server group areas comprises the steps of:
    根据以往客户对各业务链的需求量,以及用户请求业务链服务时该业务链上各虚拟网络功能所需要占用资源的大小,估算出所述业务链各虚拟网络功能所需的资源大小;以及Estimating the resource size required for each virtual network function of the service chain according to the demand of the customer for each service chain and the amount of resources required by each virtual network function in the service chain when the user requests the service chain service;
    根据所述业务链各虚拟网络功能所需的资源大小估算出每个所述服务器群组区域所需要的服务器的数量。The number of servers required for each of the server group areas is estimated based on the resource size required for each virtual network function of the service chain.
  8. 一种环形组网下的网络功能虚拟化业务链映射的装置,包括:A device for virtualizing a service chain mapping of a network function under a ring network includes:
    划分模块,其设置为对业务链的虚拟网络功能进行服务器群组区域预划分;a partitioning module, configured to pre-divide a server group area for a virtual network function of the service chain;
    分配模块,其设置为将网络功能虚拟化中参与资源分配的服务器分配到对应的所述服务器群组区域;以及An allocation module configured to allocate a server participating in resource allocation in network function virtualization to the corresponding server group area;
    部署模块,其设置为对用户流量进行部署时,选择所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域上对应的虚拟网络功能进行部署。The deployment module is configured to deploy the corresponding virtual network function on the server group area corresponding to each virtual network function in the service chain required by the user traffic when the user traffic is deployed.
  9. 如权利要求8所述的装置,其中,The device of claim 8 wherein
    所述部署模块设置为通过以下操作来选择所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域上对应的网络功能进行部署:当确定所述用户流量所需求的业务链上的各虚拟网络 功能对应的服务器群组区域的空闲资源不足时,对所述服务器群组区域重划分,选择在重划分后的对应的服务器群组区域上对应的虚拟网络功能进行部署。The deployment module is configured to select a network function corresponding to each virtual network function corresponding to each virtual network function in the service chain required by the user traffic to be deployed: when determining the service required by the user traffic When the idle resource of the server group area corresponding to each virtual network function in the chain is insufficient, the server group area is re-divided, and the corresponding virtual network function on the re-divided corresponding server group area is selected for deployment.
  10. 如权利要求9所述的装置,其中,The device according to claim 9, wherein
    所述部署模块设置为通过以下操作来对所述服务器群组区域重划分:确定当前资源剩余最多的服务器群组区域;以及从所述当前资源剩余最多的服务器群组区域至所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域,按标号顺序依次从每个服务器群组区域划分出指定资源给下一个服务器群组区域,直至将所述指定资源划分给所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域为止。The deployment module is configured to re-divide the server group area by: determining a server group area with the most remaining current resources; and from the server group area with the most remaining current resources to the user traffic a server group area corresponding to each virtual network function in the required service chain, sequentially assigning specified resources from each server group area to the next server group area in the order of labels until the specified resources are allocated to the The server group area corresponding to each virtual network function on the service chain required for user traffic.
  11. 如权利要求10所述的装置,其中,The device of claim 10, wherein
    所述部署模块设置为通过以下操作来依次从每个服务器群组区域划分出指定资源给下一个服务器群组区域:如所述当前资源剩余最多的服务器群组区域比所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域更靠近流量始发处,则依次从每个服务器群组区域中标号最大的服务器中划分出指定资源给下一个服务器群组区域,如所述标号最大的服务器不存在空闲资源,则在该服务器群组区域中其它服务器上开启一个正在所述标号最大的服务器中运行的虚拟网络功能,将所述标号最大的服务器的所述虚拟网络功能及其上的流量迁移至所述开启的虚拟网络功能上,再从标号最大的服务器中划分出指定资源给下一个服务器群组区域;以及The deployment module is configured to sequentially allocate a specified resource from each server group area to a next server group area by: if the server group area with the most remaining current resources is required by the user traffic The server group area corresponding to each virtual network function in the service chain is closer to the traffic origination point, and then the specified resource is divided into the next server group area from the server with the largest label in each server group area. If the server with the largest label has no idle resources, the virtual network function running in the server with the largest label is opened on the other servers in the server group area, and the virtual network function of the server with the largest label is set. And the traffic on the network migrates to the opened virtual network function, and then allocates the specified resource from the server with the largest label to the next server group area;
    如所述当前资源剩余最多的服务器群组区域比所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域远离流量始发处,则依次从每个服务器群组区域中标号最小的服务器中划分出指定资源给下一个服务器群组区域,如所述标号最小的服务器不存在空闲资源,则在该服务器群组区域中其它服务器上开启一个正在所述标号最小的服务器中运行的虚拟网络功能,将所述标号最小的服务器 的所述虚拟网络功能及其上的流量迁移至所述开启的虚拟网络功能上,再从所述标号最小的服务器中划分出指定资源给下一个服务器群组区域。If the server group area corresponding to the current resource remaining is greater than the server group area corresponding to each virtual network function in the service chain required by the user traffic, the server group area is away from the traffic origination, and then the server group area is sequentially marked. The server with the smallest number divides the specified resource into the next server group area. If the server with the lowest label does not have idle resources, open a server with the lowest label in other servers in the server group area. Running the virtual network function, migrating the virtual network function of the server with the lowest label and the traffic on the virtual network function to the opened virtual network function, and then dividing the specified resource from the server with the smallest label to the next A server group area.
  12. 如权利要求8所述的装置,其中,所述划分模块包括:The apparatus of claim 8 wherein said dividing module comprises:
    划分单元,设置为统计出环形组网中的网络功能虚拟化业务链的最大长度α,将服务器群组划分成α个服务器群组区域;The dividing unit is configured to count the maximum length α of the network function virtualization service chain in the ring network, and divide the server group into α server group areas;
    映射单元,设置为按照业务链长度由长到短的顺序,遍历所有的映射方式,依次将各业务链上的虚拟网络功能和所述服务器群组区域进行映射;以及The mapping unit is configured to traverse all the mapping manners according to the length of the service chain from long to short, and sequentially map the virtual network function on each service chain and the server group area;
    选择单元,设置为比较所有映射方式下各服务器群组区域中的虚拟网络功能种类数的总和,选择所述总和最小的映射方式下各业务链的虚拟网络功能和所述服务器群组区域的映射关系。The selecting unit is configured to compare the sum of the number of virtual network function categories in each server group area in all mapping modes, and select a virtual network function of each service chain and a mapping of the server group area in the mapping mode with the smallest sum. relationship.
  13. 如权利要求8所述的装置,其中,所述分配模块包括:The apparatus of claim 8 wherein said distribution module comprises:
    估算单元,设置为估算所述业务链各虚拟网络功能所需的资源及每个所述服务器群组区域所需的资源;以及An estimating unit, configured to estimate resources required for each virtual network function of the service chain and resources required for each of the server group areas;
    分配单元,设置为根据所述估算的资源按照服务器的标号顺序,依次将服务器分配到对应的所述服务器群组区域。And an allocating unit, configured to sequentially allocate the server to the corresponding server group area according to the estimated resource according to the label order of the server.
  14. 如权利要求13所述的装置,其中,The device of claim 13 wherein
    所述估算单元还设置为通过以下操作来估算所述业务链各虚拟网络功能所需的资源及每个所述服务器群组区域所需的资源:根据以往客户对各业务链的需求量,以及用户请求业务链服务时该业务链上各虚拟网络功能所需要占用资源的大小,估算出所述业务链各虚拟网络功能所需的资源大小;以及根据所述业务链各虚拟网络功能所需的资源大小估算出每个所述服务器群组区域所需要的服务器的数量。The estimating unit is further configured to: estimate resources required by each virtual network function of the service chain and resources required for each of the server group areas by: according to a previous customer demand for each service chain, and The size of the resources required by each virtual network function in the service chain when the user requests the service chain service, and the resource size required for each virtual network function of the service chain; and the virtual network function required according to the service chain. The resource size estimates the number of servers required for each of the server group areas.
  15. 一种环形组网下的网络功能虚拟化业务链映射的装置,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机 程序,其中,所述处理器执行所述程序时实现以下步骤:An apparatus for virtualizing a service chain mapping of a network function under a ring network includes: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein when the processor executes the program Implement the following steps:
    对业务链的虚拟网络功能进行服务器群组区域预划分;Pre-partitioning the server group area for the virtual network function of the service chain;
    将网络功能虚拟化中参与资源分配的服务器分配到对应的所述服务器群组区域;以及Allocating a server participating in resource allocation in network function virtualization to the corresponding server group area;
    对用户流量进行部署时,选择所述用户流量所需求的业务链上的各虚拟网络功能对应的服务器群组区域上对应的网络功能进行部署。When the user traffic is deployed, the corresponding network function on the server group area corresponding to each virtual network function in the service chain required by the user traffic is selected for deployment.
PCT/CN2018/109498 2017-10-09 2018-10-09 Method and apparatus for network functions virtualization service chain mapping in annular network WO2019072171A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710930775.2 2017-10-09
CN201710930775.2A CN109639447B (en) 2017-10-09 2017-10-09 Method and device for mapping network function virtualization service chain under ring networking

Publications (1)

Publication Number Publication Date
WO2019072171A1 true WO2019072171A1 (en) 2019-04-18

Family

ID=66051108

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/109498 WO2019072171A1 (en) 2017-10-09 2018-10-09 Method and apparatus for network functions virtualization service chain mapping in annular network

Country Status (2)

Country Link
CN (1) CN109639447B (en)
WO (1) WO2019072171A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113207151B (en) * 2021-07-05 2021-10-26 中兴通讯股份有限公司 Data flow control method, system, server and service management node

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579732A (en) * 2013-10-21 2015-04-29 华为技术有限公司 Method, device and system for managing virtualized network function network elements
CN105407056A (en) * 2014-09-16 2016-03-16 中国电信股份有限公司 Method and system for establishing service chain in software-defined network
US20160352582A1 (en) * 2014-02-06 2016-12-01 Nec Corporation Network management method and apparatus
CN106411768A (en) * 2015-07-31 2017-02-15 中国电信股份有限公司 Service chain resource scheduling method and apparatus

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457752A (en) * 2012-05-30 2013-12-18 中国科学院声学研究所 Virtual network mapping method
CN104901999B (en) * 2015-03-31 2018-04-06 电子科技大学 A kind of virtual data center cross-domain mapping method that reliability perceives
CN106470233A (en) * 2015-08-20 2017-03-01 中国电信股份有限公司 Towards the open business chain resource regulating method of third party, device and system
CN105242956B (en) * 2015-09-15 2018-06-12 中国人民解放军信息工程大学 Virtual functions service chaining deployment system and its dispositions method
EP3148125A1 (en) * 2015-09-25 2017-03-29 Fujitsu Limited Setting method, server device and service chain system
CN105262669A (en) * 2015-12-01 2016-01-20 电子科技大学 Virtual network mapping method
CN106487707B (en) * 2016-09-29 2019-06-18 北京邮电大学 A kind of virtual fault tolerant network mapping method of power communication and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104579732A (en) * 2013-10-21 2015-04-29 华为技术有限公司 Method, device and system for managing virtualized network function network elements
US20160352582A1 (en) * 2014-02-06 2016-12-01 Nec Corporation Network management method and apparatus
CN105407056A (en) * 2014-09-16 2016-03-16 中国电信股份有限公司 Method and system for establishing service chain in software-defined network
CN106411768A (en) * 2015-07-31 2017-02-15 中国电信股份有限公司 Service chain resource scheduling method and apparatus

Also Published As

Publication number Publication date
CN109639447A (en) 2019-04-16
CN109639447B (en) 2021-11-12

Similar Documents

Publication Publication Date Title
US11221884B2 (en) Hybrid virtual machine configuration management
US10834047B2 (en) Address management in an overlay network environment
US8484654B2 (en) Determining suitable network interface for partition deployment/re-deployment in a cloud environment
JP5919609B2 (en) Multi-tenant access to multi-desktops on host machine partitions in a service provider network
US9602334B2 (en) Independent network interfaces for virtual network environments
US9569275B2 (en) Allocation and reservation of virtualization-based resources
US10540285B2 (en) Coordination of cache and memory reservation
JP2018503897A (en) Resource management in cloud systems
WO2020233020A1 (en) Method and device for pre-distributing container ip, computer device and storage medium
US11070492B2 (en) Pooling public cloud resources from different subscriptions using reservations
ES2607636T3 (en) Method implemented by computer and system to provide a network connection service and a computer program product adapted to perform the method
US10593009B1 (en) Session coordination for auto-scaled virtualized graphics processing
US20160077881A1 (en) Managing a workload in an environment
US11785054B2 (en) Deriving system architecture from security group relationships
WO2019072171A1 (en) Method and apparatus for network functions virtualization service chain mapping in annular network
US10552195B2 (en) Migration of virtual infrastructures
US10536510B2 (en) Subscription-agnostic deployment of workloads to a public cloud
US11916950B1 (en) Coordinating a distributed vulnerability network scan
US11403130B2 (en) Method and apparatus for workload volatility management in cloud computing

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 08/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18866844

Country of ref document: EP

Kind code of ref document: A1