CN102932479B - Virtual network mapping method for realizing topology awareness based on historical data - Google Patents

Virtual network mapping method for realizing topology awareness based on historical data Download PDF

Info

Publication number
CN102932479B
CN102932479B CN201210461017.8A CN201210461017A CN102932479B CN 102932479 B CN102932479 B CN 102932479B CN 201210461017 A CN201210461017 A CN 201210461017A CN 102932479 B CN102932479 B CN 102932479B
Authority
CN
China
Prior art keywords
node
virtual
mapping
physical
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210461017.8A
Other languages
Chinese (zh)
Other versions
CN102932479A (en
Inventor
廖建新
张磊
卿苏德
徐童
沈奇威
张乐剑
戚琦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN201210461017.8A priority Critical patent/CN102932479B/en
Publication of CN102932479A publication Critical patent/CN102932479A/en
Application granted granted Critical
Publication of CN102932479B publication Critical patent/CN102932479B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种基于历史数据实现拓扑感知的虚拟网络映射方法,包括下列操作步骤:(1)根据底层物理网络积累的虚拟网络成功映射的历史数据集合,计算底层物理网络节点之间的依赖关系矩阵M;(2)根据虚拟网络中虚拟节点对中央处理单元CPU资源的需求大小,从大到小对虚拟网络的所有虚拟节点进行排序;(3)根据依赖关系矩阵M,按照顺序依次进行虚拟节点到底层物理节点的节点映射;(4)节点映射完毕之后,按照设定的链路映射方法实现虚拟网络的虚拟链路到底层物理网络的物理路径之间的映射。本发明方法实现了对底层物理网络资源能力的科学评价,通过感知虚拟网络的拓扑结构,实现节点映射的优化选择,提高了虚拟网络映射的长期平均成功率。

A virtual network mapping method based on historical data to realize topology awareness, comprising the following steps: (1) calculating the dependency matrix M between the underlying physical network nodes according to the historical data collection of the successful mapping of the virtual network accumulated by the underlying physical network; (2) sort all the virtual nodes in the virtual network from large to small according to the demand of the virtual nodes in the virtual network for CPU resources of the central processing unit; (3) according to the dependency matrix M, proceed from the virtual nodes to the bottom layer in sequence Node mapping of physical nodes; (4) After the node mapping is completed, the mapping between the virtual link of the virtual network and the physical path of the underlying physical network is realized according to the set link mapping method. The method of the invention realizes the scientific evaluation of the resource capability of the underlying physical network, realizes the optimal selection of node mapping by sensing the topology structure of the virtual network, and improves the long-term average success rate of virtual network mapping.

Description

一种基于历史数据实现拓扑感知的虚拟网络映射方法A topology-aware virtual network mapping method based on historical data

技术领域technical field

本发明涉及一种实现虚拟网络映射的方法,属于计算机网络技术领域,特别是属于网络虚拟化技术领域。The invention relates to a method for realizing virtual network mapping, which belongs to the technical field of computer networks, in particular to the technical field of network virtualization.

背景技术Background technique

网络虚拟化是指将一个共用的物理网络基础设施从逻辑上划分为多个相互隔离的、具有不同网络拓扑的虚拟网络。虚拟网络一般包括多个虚拟节点和多条虚拟链路,每个虚拟节点和每条虚拟链路都具有不同的资源需求,如虚拟节点对中央处理单元CPU的资源需求,虚拟链路对物理链路带宽的需求。服务提供商SP通过租用底层物理网络的基础设施切片,充分利用底层物理网络基础设施上提供的访问控制权,能够在不需进行相关物理网络硬件的投入前提下,能够快速部署自定制的网络协议或架构即虚拟网络,给终端用户提供多样化的服务。Network virtualization refers to the logical division of a common physical network infrastructure into multiple isolated virtual networks with different network topologies. A virtual network generally includes multiple virtual nodes and multiple virtual links. Each virtual node and each virtual link has different resource requirements, such as the resource requirements of the virtual node for the central processing unit CPU, and the virtual link for the physical link. road bandwidth requirements. By renting the infrastructure slice of the underlying physical network, the service provider SP makes full use of the access control rights provided by the underlying physical network infrastructure, and can quickly deploy a customized network protocol without investing in related physical network hardware. Or the architecture is a virtual network, which provides diversified services to end users.

在虚拟网络向底层物理网络的映射过程中,由于需要同时满足节点和链路的资源需求,网络虚拟化的映射问题是一个NP-hard问题。目前与其相关的解决方案普遍基于启发式方法而设计,但目前的启发式虚拟网络映射方案存在如下问题:(1)目前的资源评分标准是将物理节点的CPU能力值乘以该节点相邻链路带宽之和作为度量值,然而这种资源评分标准并不准确,导致方案有可能选择CPU能力强而链路弱的物理节点进行映射,以致虚拟网路映射在链路映射阶段失败;(2)总是使用贪婪算法选择评分最高的物理节点进行映射,而忽略了已经映射好的虚拟节点的位置即未考虑虚拟网络的拓扑。因此,在进行虚拟网络映射的过程中,如何更好的对底层物理网络资源能力进行评价,如何根据已经映射完毕的虚拟节点及其拓扑结构,实现下一步节点映射的优化选择是目前计算机网络工程领域一个急需要解决的技术难题。In the process of mapping the virtual network to the underlying physical network, since the resource requirements of nodes and links need to be satisfied at the same time, the mapping problem of network virtualization is an NP-hard problem. At present, related solutions are generally designed based on heuristic methods, but the current heuristic virtual network mapping scheme has the following problems: (1) The current resource scoring standard is to multiply the CPU capability value of the physical node by the adjacent chain of the node However, this resource scoring standard is not accurate, leading to the possibility that the scheme selects physical nodes with strong CPU capabilities but weak links for mapping, so that the virtual network mapping fails in the link mapping stage; (2 ) always uses the greedy algorithm to select the physical node with the highest score for mapping, ignoring the location of the already mapped virtual node, that is, not considering the topology of the virtual network. Therefore, in the process of virtual network mapping, how to better evaluate the underlying physical network resource capabilities, and how to optimize the next step of node mapping based on the mapped virtual nodes and their topological structures are the current computer network engineering It is a technical problem that urgently needs to be solved.

发明内容Contents of the invention

有鉴于此,本发明的目的是发明一种实现虚拟网络映射的方法,能够利用底层网络积累的大量的虚拟网络成功映射的历史数据集合,实现对底层物理网络资源能力的科学评价,并能够结合已经映射完毕的虚拟节点及其拓扑结构,实现下一步节点映射的优化选择。In view of this, the object of the present invention is to invent a method for realizing virtual network mapping, which can utilize a large number of historical data sets successfully mapped by the virtual network accumulated in the underlying network to realize a scientific evaluation of the resource capabilities of the underlying physical network, and can combine The virtual nodes and their topological structures that have been mapped realize the optimal selection of the next node mapping.

为了达到上述目的,本发明提出了一种基于历史数据实现拓扑感知的虚拟网络映射方法,所述方法包括下列操作步骤:In order to achieve the above object, the present invention proposes a virtual network mapping method based on historical data to realize topology awareness, and the method includes the following steps:

(1)根据底层物理网络积累的虚拟网络成功映射的历史数据集合,计算底层物理网络节点之间的依赖关系矩阵M,具体包括如下操作步骤:(11)对底层物理网络的所有物理节点从1进行编号,直到编号n,n是一个自然数,等于底层物理网络的物理节点数目;(12)从底层物理网络积累的虚拟网络成功映射的历史数据集合中,取出每一个映射记录;对每一个映射记录,都构造一个n行n列的空矩阵P,初始时该矩阵P的每个元素值为0值;在该映射记录中,如果第i个底层物理节点至少被该映射记录中一个虚拟节点成功映射过,则让矩阵P的第i行第i列的元素aii取值为1;在该映射记录中,如果第i个底层物理节点和第j个底层物理节点之间的一条物理路径至少被该映射记录中的一条虚拟链路成功映射过,则让矩阵P的第i行第j列的元素aij和第j行第i列的元素aji都取值为该条物理路径的跳数的倒数,其中i和j都是大于等于1、小于等于n的自然数,i和j必须不相等;(13)把步骤12中所构造的所有矩阵P进行矩阵相加求和,得到一个新的n行n列矩阵S;(14)对矩阵S进行归一化处理,得到底层物理网络节点之间的依赖关系矩阵M;归一化处理的具体方式是:对于矩阵M第i行第i列的元素Mii取值为该元素表示底层物理网络第i个物理节点的平均重要度因子;对于矩阵M第i行第j列的元素Mij取值为该元素表示底层物理网络第i个物理节点和第j个物理节点之间的平均关联度因子;上述式中Sii表示矩阵S第i行第i列的元素,Sij表示矩阵S第i行第j列的元素,i和j都是大于等于1、小于等于n的自然数,i和j必须不相等;(1) Calculate the dependency matrix M between the nodes of the underlying physical network according to the historical data set successfully mapped by the virtual network accumulated in the underlying physical network, which specifically includes the following steps: (11) For all physical nodes of the underlying physical network Carry out numbering until numbering n, n is a natural number, equal to the number of physical nodes of the underlying physical network; (12) from the historical data collection of the virtual network successfully mapped in the underlying physical network, take out each mapping record; for each mapping Records, construct an empty matrix P with n rows and n columns, each element value of the matrix P is 0 at the beginning; in the mapping record, if the i-th underlying physical node is at least one virtual node in the mapping record After successful mapping, let the element a ii of the i-th row and i -column of the matrix P take the value of 1; in this mapping record, if a physical path between the i-th underlying physical node and the j-th underlying physical node At least one virtual link in the mapping record has been successfully mapped, then let the element a ij in the i-th row and j-column of the matrix P and the element a ji in the j-th row and i-column both take the value of the physical path The reciprocal of the number of jumps, wherein i and j are all natural numbers greater than or equal to 1 and less than or equal to n, i and j must be unequal; (13) adding and summing all matrices P constructed in step 12 to obtain a A new n-row n-column matrix S; (14) normalize the matrix S to obtain the dependency matrix M between the underlying physical network nodes; the specific way of normalization is: for the i-th row of the matrix M The value of element M ii in column i is This element represents the average importance factor of the i-th physical node of the underlying physical network; for the element M ij in the i-th row and j-th column of the matrix M, the value is This element represents the average correlation factor between the i-th physical node and the j-th physical node of the underlying physical network; in the above formula, S ii represents the element in the i-th row and the i-th column of the matrix S, and S ij represents the i-th row of the matrix S The elements in the jth column, i and j are both natural numbers greater than or equal to 1 and less than or equal to n, and i and j must not be equal;

(2)对于一个需要进行映射的虚拟网络,根据该虚拟网络中虚拟节点对CPU资源的需求大小,从大到小对该虚拟网络的所有虚拟节点进行排序;(2) For a virtual network that needs to be mapped, sort all the virtual nodes of the virtual network from large to small according to the demand size of the virtual nodes in the virtual network for CPU resources;

(3)根据所述的依赖关系矩阵M,按照设定的节点映射方法,对所述的虚拟网络中的虚拟节点按照已经排好的顺序依次进行虚拟节点到底层物理节点的节点映射,具体包括如下操作步骤:(31)拿出当前排在最前面的还未进行节点映射的虚拟节点;(32)如果该虚拟节点没有父节点,则从所述的依赖关系矩阵M中找到当前能够满足该虚拟节点的CPU资源要求并且平均重要度因子最高的底层物理节点,把该虚拟节点映射到该物理节点上;如果该虚拟节点有e个父节点,则首先找出与该虚拟节点所有父节点有对应映射关系的e个底层物理节点;然后从所述的依赖关系矩阵M中找到一个当前能够满足该虚拟节点的CPU资源要求的底层物理节点,并且要求该物理节点分别到所述的e个底层物理节点的平均关联度因子的联乘积最大,于是把该虚拟节点映射到该物理节点上;e是一个大于等于1的自然数;所述的虚拟节点的父节点是指与该虚拟节点邻接并且排序排在该虚拟节点之前的虚拟节点,当该虚拟节点进行节点映射时,该虚拟节点的父节点已经完成节点映射了;(33)回到步骤31,直到所有虚拟节点完成映射;(3) According to the dependency matrix M, according to the set node mapping method, the virtual nodes in the virtual network are mapped from the virtual nodes to the underlying physical nodes according to the arranged order, specifically including The following steps are as follows: (31) take out the virtual node that is currently at the forefront and has not yet been mapped to the node; (32) if the virtual node does not have a parent node, then find out from the dependency matrix M that currently satisfies the The CPU resource requirement of the virtual node and the underlying physical node with the highest average importance factor map the virtual node to the physical node; if the virtual node has e parent nodes, first find out the The e underlying physical nodes corresponding to the mapping relationship; then find an underlying physical node that can currently meet the CPU resource requirements of the virtual node from the dependency matrix M, and require the physical node to go to the e underlying physical nodes respectively The joint product of the average association degree factor of the physical node is the largest, so the virtual node is mapped to the physical node; e is a natural number greater than or equal to 1; the parent node of the virtual node refers to adjacent to the virtual node and sorted Arrange the virtual node before this virtual node, when this virtual node performs node mapping, the parent node of this virtual node has completed node mapping; (33) go back to step 31, until all virtual nodes complete mapping;

(4)节点映射完毕之后,按照设定的链路映射方法实现虚拟网络的虚拟链路到底层物理网络的物理路径之间的映射。(4) After the node mapping is completed, the mapping between the virtual link of the virtual network and the physical path of the underlying physical network is realized according to the set link mapping method.

所述步骤4中所述的设定的链路映射方法是指k最短路径k-shortest path方法。The link mapping method of setting described in the step 4 refers to the k-shortest path method.

本发明的有益效果在于:本发明的虚拟网络映射方法,利用虚拟网络成功映射的历史数据实现了对底层物理网络资源能力的科学评价,并能够感知虚拟网络的拓扑结构,实现节点映射的优化选择;本发明的虚拟网络映射方法有效地提高了虚拟网络映射的长期平均成功率,给底层物理网络基础设施提供商带来了更多的长期平均收益。The beneficial effect of the present invention is that: the virtual network mapping method of the present invention realizes the scientific evaluation of the underlying physical network resource capabilities by using the historical data successfully mapped by the virtual network, and can perceive the topology structure of the virtual network to realize the optimal selection of node mapping ; The virtual network mapping method of the present invention effectively improves the long-term average success rate of virtual network mapping, and brings more long-term average benefits to the underlying physical network infrastructure provider.

附图说明Description of drawings

图1是本发明方法的流程图。Figure 1 is a flow chart of the method of the present invention.

图2是一个虚拟网络的示意图。Figure 2 is a schematic diagram of a virtual network.

图3是一个底层物理网络的示意图。Figure 3 is a schematic diagram of an underlying physical network.

图4是图2所示虚拟网络映射到图3所示底层物理网络的示意图。FIG. 4 is a schematic diagram of mapping the virtual network shown in FIG. 2 to the underlying physical network shown in FIG. 3 .

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明作进一步的详细描述。In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

参见图1,介绍本发明的一种基于历史数据实现拓扑感知的虚拟网络映射方法,所述方法包括下列操作步骤:Referring to Fig. 1, a kind of virtual network mapping method that realizes topology awareness based on historical data of the present invention is introduced, and the method includes the following steps:

(1)根据底层物理网络积累的虚拟网络成功映射的历史数据集合,计算底层物理网络节点之间的依赖关系矩阵M;(1) Calculate the dependency matrix M between the underlying physical network nodes according to the historical data set successfully mapped by the virtual network accumulated in the underlying physical network;

(2)对于一个需要进行映射的虚拟网络,根据该虚拟网络中虚拟节点对CPU资源的需求大小,从大到小对该虚拟网络的所有虚拟节点进行排序;(2) For a virtual network that needs to be mapped, sort all the virtual nodes of the virtual network from large to small according to the demand size of the virtual nodes in the virtual network for CPU resources;

参见图2,图2所示虚拟网络包括3个虚拟节点,即a、b、c三个虚拟节点,节点旁边的方框内的数字表示该虚拟节点的CPU资源需求大小,节点之间虚拟链路上的数字表示该条虚拟链路的带宽资源需求大小,比如a虚拟节点的CPU资源需求是10个单位,a虚拟节点与b虚拟节点之间虚拟链路的带宽资源需求是8个单位。按照虚拟节点对CPU资源的需求大小,从大到小对a、b、c三个虚拟节点进行排序,排序结果是:a、c、b。See Figure 2. The virtual network shown in Figure 2 includes three virtual nodes, namely a, b, and c. The numbers in the boxes next to the nodes indicate the CPU resource requirements of the virtual nodes, and the virtual links between nodes The number on the road indicates the bandwidth resource requirement of the virtual link. For example, the CPU resource requirement of virtual node a is 10 units, and the bandwidth resource requirement of the virtual link between virtual node a and virtual node b is 8 units. According to the demand of the virtual nodes for CPU resources, the three virtual nodes a, b, and c are sorted from large to small, and the sorting results are: a, c, b.

(3)根据所述的依赖关系矩阵M,按照设定的节点映射方法,对所述的虚拟网络中的虚拟节点按照已经排好的顺序依次进行虚拟节点到底层物理节点的节点映射;(3) according to the dependency matrix M, according to the set node mapping method, the virtual nodes in the virtual network are mapped from the virtual nodes to the underlying physical nodes in sequence according to the arranged order;

(4)节点映射完毕之后,按照设定的链路映射方法实现虚拟网络的虚拟链路到底层物理网络的物理路径之间的映射。(4) After the node mapping is completed, the mapping between the virtual link of the virtual network and the physical path of the underlying physical network is realized according to the set link mapping method.

所述步骤1的具体内容是包括如下操作步骤:The specific content of said step 1 includes the following steps:

(11)对底层物理网络的所有物理节点从1进行编号,直到编号n,n是一个自然数,等于底层物理网络的物理节点数目;(11) all physical nodes of the underlying physical network are numbered from 1 to numbering n, where n is a natural number equal to the number of physical nodes of the underlying physical network;

参见图3,图3所示的一个底层物理网络,共包括6个物理节点,依次进行了编号。图中节点用圆圈表示,圆圈内的数字就是该物理节点的编号,节点旁边的方框内的数字表示该物理节点的CPU资源能力,节点之间链路上的数字表示该条链路的带宽资源能力,比如1号物理节点的CPU资源能力是40个单位,1号物理节点与2号物理节点之间物理链路的带宽资源能力是20个单位。Referring to FIG. 3 , an underlying physical network shown in FIG. 3 includes a total of 6 physical nodes, which are numbered sequentially. The nodes in the figure are represented by circles, the numbers in the circles are the numbers of the physical nodes, the numbers in the boxes next to the nodes indicate the CPU resource capabilities of the physical nodes, and the numbers on the links between nodes indicate the bandwidth of the links Resource capability, for example, the CPU resource capability of physical node 1 is 40 units, and the bandwidth resource capability of the physical link between physical node 1 and physical node 2 is 20 units.

(12)从底层物理网络积累的虚拟网络成功映射的历史数据集合中,取出每一个映射记录;对每一个映射记录,都构造一个n行n列的空矩阵P,初始时该矩阵P的每个元素值为0值;在该映射记录中,如果第i个底层物理节点至少被该映射记录中一个虚拟节点成功映射过,则让矩阵P的第i行第i列的元素aii取值为1;在该映射记录中,如果第i个底层物理节点和第j个底层物理节点之间的一条物理路径至少被该映射记录中的一条虚拟链路成功映射过,则让矩阵P的第i行第j列的元素aij和第j行第i列的元素aji都取值为该条物理路径跳数的倒数,其中i和j都是大于等于1、小于等于n的自然数,i和j必须不相等;(12) Take out each mapping record from the historical data set of successful mapping of the virtual network accumulated in the underlying physical network; for each mapping record, construct an empty matrix P with n rows and n columns, and initially each of the matrix P element value is 0; in the mapping record, if the i-th underlying physical node has been successfully mapped by at least one virtual node in the mapping record, let the element a ii in the i-th row and i -column of the matrix P take the value is 1; in this mapping record, if a physical path between the i-th underlying physical node and the j-th underlying physical node is successfully mapped by at least one virtual link in the mapping record, then let the matrix P The element a ij in the jth column of the i row and the element a ji in the ith column of the jth row both take the value of the reciprocal of the hop count of the physical path, where i and j are natural numbers greater than or equal to 1 and less than or equal to n, i and j must not be equal;

比如,根据第一条映射记录,我们得到与图3所示底层物理网络对应的矩阵P1如下:For example, according to the first mapping record, we get the matrix P1 corresponding to the underlying physical network shown in Figure 3 as follows:

PP 11 == 11 00 11 // 22 00 00 11 // 22 00 00 00 00 00 00 11 // 22 00 11 00 00 11 00 11 00 00 00 00 00 00 00 00 00 00 11 // 22 00 11 00 00 11

(13)把步骤12中所构造的所有矩阵P进行矩阵相加求和,得到一个新的n行n列矩阵S;(13) carry out matrix addition summation to all matrix P constructed in step 12, obtain a new n row n column matrix S;

比如,我们总共有k条映射记录,通过步骤12,我们一共得到k个矩阵P1,P2,...,Pk,则把这k个矩阵相加求和得到矩阵S如下:For example, we have a total of k mapping records, through step 12, we get a total of k matrices P 1 , P 2 , ..., P k , then add and sum these k matrices to obtain a matrix S as follows:

SS == ΣΣ ii == 11 kk PP ii

(14)对矩阵S进行归一化处理,得到底层物理网络节点之间的依赖关系矩阵M;归一化处理的具体方式是:对于矩阵M第i行第i列的元素Mii取值为该元素表示底层物理网络第i个物理节点的平均重要度因子;对于矩阵M第i行第j列的元素Mij取值为该元素表示底层物理网络第i个物理节点和第j个物理节点之间的平均关联度因子;上述式中Sii表示矩阵S第i行第i列的元素,Sij表示矩阵S第i行第j列的元素,i和j都是大于等于1、小于等于n的自然数,i和j必须不相等。(14) Perform normalization processing on the matrix S to obtain the dependency matrix M between the underlying physical network nodes; the specific method of normalization processing is: for the element M ii of the i-th row and i-column of the matrix M, the value is This element represents the average importance factor of the i-th physical node of the underlying physical network; for the element M ij in the i-th row and j-th column of the matrix M, the value is This element represents the average correlation factor between the i-th physical node and the j-th physical node of the underlying physical network; in the above formula, S ii represents the element in the i-th row and the i-th column of the matrix S, and S ij represents the i-th row of the matrix S For the elements in the jth column, both i and j are natural numbers greater than or equal to 1 and less than or equal to n, and i and j must not be equal.

上述对矩阵S进行归一化处理的方式可合并成如下公式所示:The above methods of normalizing the matrix S can be combined into the following formula:

所述步骤3的具体内容是包括如下操作步骤:The specific content of said step 3 includes the following steps:

(31)拿出当前排在最前面的还未进行节点映射的虚拟节点;(31) Take out the virtual node that is currently at the forefront and has not yet been mapped to the node;

(32)如果该虚拟节点没有父节点,则从所述的依赖关系矩阵M中找到当前能够满足该虚拟节点的CPU资源要求并且平均重要度因子最高的底层物理节点,把该虚拟节点映射到该物理节点上;(32) If the virtual node does not have a parent node, find the underlying physical node that can currently meet the CPU resource requirements of the virtual node and have the highest average importance factor from the dependency matrix M, and map the virtual node to the on the physical node;

如果该虚拟节点有e个父节点,则首先找出与该虚拟节点所有父节点有对应映射关系的e个底层物理节点;然后从所述的依赖关系矩阵M中找到一个当前能够满足该虚拟节点的CPU资源要求的底层物理节点,并且要求该物理节点分别到所述的e个底层物理节点的平均关联度因子的联乘积最大,于是把该虚拟节点映射到该物理节点上;e是一个大于等于1的自然数;If the virtual node has e parent nodes, first find e underlying physical nodes that have a corresponding mapping relationship with all parent nodes of the virtual node; then find a current virtual node that can satisfy the The underlying physical node required by the CPU resources, and the joint product of the average correlation factor of the physical node to the e underlying physical nodes is required to be the largest, so the virtual node is mapped to the physical node; e is a value greater than a natural number equal to 1;

比如:对一个虚拟节点v其有e个父节点,这e个父节点所对应映射的底层物理节点的序号是:则该虚拟节点映射的底层物理节点是一个当前能够满足其CPU资源要求,并且满足下式的物理节点(其序号为t):For example: for a virtual node v, it has e parent nodes, and the serial number of the underlying physical node mapped to the e parent nodes is: Then the underlying physical node mapped by the virtual node is a physical node (its sequence number is t) that can currently meet its CPU resource requirements and satisfy the following formula:

tt == argarg maxmax jj ΠΠ ii == 11 ee Mm jvjv pp ii

上式中表示依赖关系矩阵M的第j行第列元素。In the above formula Indicates that the jth row of the dependency matrix M column elements.

所述的虚拟节点的父节点是指与该虚拟节点邻接并且排序排在该虚拟节点之前的虚拟节点,当该虚拟节点进行节点映射时,该虚拟节点的父节点已经完成节点映射了;The parent node of the virtual node refers to a virtual node adjacent to the virtual node and ranked before the virtual node. When the virtual node performs node mapping, the parent node of the virtual node has completed node mapping;

参见图2,对应图2所示的虚拟网络,虚拟节点a没有父节点,虚拟节点c的父节点是a,虚拟节点b的父节点是a和c。在节点映射的过程中,虚拟节点a最先映射,然后是虚拟节点c,最后是虚拟节点b。Referring to FIG. 2 , corresponding to the virtual network shown in FIG. 2 , virtual node a has no parent node, virtual node c has parent node a, and virtual node b has parent nodes a and c. In the process of node mapping, virtual node a is mapped first, then virtual node c, and finally virtual node b.

(33)回到步骤31,直到所有虚拟节点完成映射。(33) Go back to step 31 until all virtual nodes complete the mapping.

所述步骤4中所述的设定的链路映射方法是指k最短路径k-shortest path方法。The link mapping method of setting described in the step 4 refers to the k-shortest path method.

参见图4,图4是图2所示的虚拟网络映射到图3所示的底层物理网络的最终结果,具体是:虚拟节点a映射到6号物理节点,虚拟节点c映射到3号物理节点,虚拟节点b映射到1号物理节点。Referring to Figure 4, Figure 4 is the final result of mapping the virtual network shown in Figure 2 to the underlying physical network shown in Figure 3, specifically: virtual node a is mapped to physical node No. 6, and virtual node c is mapped to physical node No. 3 , virtual node b is mapped to physical node 1.

发明人对本发明所提出的方法进行了大量仿真实验,在仿真实验中,我们使用拓扑生成器GT-ITM软件构建了一个具有100个节点并拥有500条边的物理网络。每两个节点之间都是以0.5的概率进行相连。在物理网络中,节点的CPU资源能力以及链路的带宽都服从[50,100]的均匀分布。每个虚拟网络映射请求的到达率服从以每100时间单位到达5个虚拟网络映射请求的泊松分布。各个虚拟网络包含[10,20]个虚拟节点,每两个虚拟节点之间的连接概率同样是0.5。在每次仿真实验中,我们让底层物理网络接受2500个虚拟网络映射请求,并以十次仿真结果的算术平均值作为最后的仿真实验结果。实验结果证明本发明的方法是有效的,能提高虚拟网络的平均映射成功率。The inventor has conducted a lot of simulation experiments on the method proposed by the present invention. In the simulation experiments, we used the topology generator GT-ITM software to construct a physical network with 100 nodes and 500 edges. Every two nodes are connected with a probability of 0.5. In the physical network, the CPU resource capability of the nodes and the bandwidth of the link are subject to the uniform distribution of [50, 100]. The arrival rate of each virtual network mapping request obeys the Poisson distribution of 5 virtual network mapping requests arriving every 100 time units. Each virtual network contains [10, 20] virtual nodes, and the connection probability between every two virtual nodes is also 0.5. In each simulation experiment, we let the underlying physical network accept 2500 virtual network mapping requests, and take the arithmetic mean of the ten simulation results as the final simulation experiment result. Experimental results prove that the method of the present invention is effective and can improve the average mapping success rate of the virtual network.

Claims (2)

1. realize a mapping method of virtual network for topology ambiguity based on historical data, it is characterized in that: described method comprises following operative step:
(1) according to the historical data set that the virtual network of bottom physical network accumulation successfully maps, calculate the dependence matrix M between bottom physical network nodes, specifically comprise following operating procedure: (11) all physical nodes to bottom physical network are numbered from 1, until numbering n, n is a natural number, equals the physical node number of bottom physical network; (12) from the historical data set that the virtual network of bottom physical network accumulation successfully maps, each map record is taken out; To each map record, all construct the empty matrix P of the capable n row of n, time initial, each element value of this matrix P is 0 value; In this map record, if i-th bottom physical node was at least successfully mapped by a dummy node in this map record, then allow matrix P i-th row i-th arrange element a iivalue is 1; In this map record, if a physical pathway between i-th bottom physical node and a jth bottom physical node was at least successfully mapped by the virtual link of in this map record, then allow matrix P i-th row jth row element a ijwith the element a that jth row i-th arranges jiall value is the inverse of the jumping figure of this physical pathway, and wherein i and j is the natural number being more than or equal to 1, being less than or equal to n, i and j must be unequal; (13) all matrix P constructed in step 12 are carried out matrix and be added summation, obtain a new capable n column matrix S of n; (14) matrix S is normalized, obtains the dependence matrix M between bottom physical network nodes; The concrete mode of normalized is: for the element M of matrix M i-th row i-th row iivalue is the average importance factors of this element representation bottom physical network i-th physical node; For matrix M i-th. the element M of row jth row ijvalue is the average degree of association factor between this element representation bottom physical network i-th physical node and a jth physical node; S in above-mentioned formula iithe element of representing matrix S i-th row i-th row, S ijthe element of representing matrix S i-th row jth row, i and j is the natural number being more than or equal to 1, being less than or equal to n, i and j must be unequal;
(2) needs are carried out to the virtual network mapped, according to the demand size of dummy node in this virtual network to CPU cpu resource, from big to small all dummy nodes of this virtual network are sorted;
(3) according to described dependence matrix M, according to the node mapping method of setting, according to the order sequenced, the node mapping of dummy node to bottom physical node is carried out successively to the dummy node in described virtual network, specifically comprises following operating procedure: (31) take out the current dummy node also not carrying out node mapping coming foremost; (32) if this dummy node does not have father node, from described dependence matrix M, then find the current cpu resource that can meet this dummy node to require and the bottom physical node that on average importance factors is the highest, this dummy node is mapped on this physical node; If this dummy node has e father node, then first find out e the bottom physical node having correspondence mappings relation with all father nodes of this dummy node; Then from fast dependence matrix M, find the bottom physical node that a current cpu resource that can meet this dummy node requires, and require this physical node to divide to be clipped to that the connection product of the average degree of association factor of described e bottom physical node is maximum, so this dummy node is mapped on this physical node; E is a natural number being more than or equal to 1; The father node of described dummy node refers to and to adjoin with this dummy node and to come the dummy node before this dummy node, and when this dummy node carries out node mapping, the father node of this dummy node completes node mapping; (33) step 31 is got back to, until all dummy nodes complete mapping;
(4) node mapping complete after, the mapping between the physical pathway of the virtual link realizing virtual network according to the link maps method of setting layer physical network on earth.
2. a kind of mapping method of virtual network realizing topology ambiguity based on historical data according to claim 1, is characterized in that: the link maps method of the setting described in described step 4 refers to k shortest path k-shortest path method.
CN201210461017.8A 2012-11-16 2012-11-16 Virtual network mapping method for realizing topology awareness based on historical data Expired - Fee Related CN102932479B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210461017.8A CN102932479B (en) 2012-11-16 2012-11-16 Virtual network mapping method for realizing topology awareness based on historical data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210461017.8A CN102932479B (en) 2012-11-16 2012-11-16 Virtual network mapping method for realizing topology awareness based on historical data

Publications (2)

Publication Number Publication Date
CN102932479A CN102932479A (en) 2013-02-13
CN102932479B true CN102932479B (en) 2015-01-07

Family

ID=47647175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210461017.8A Expired - Fee Related CN102932479B (en) 2012-11-16 2012-11-16 Virtual network mapping method for realizing topology awareness based on historical data

Country Status (1)

Country Link
CN (1) CN102932479B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103560967B (en) * 2013-10-17 2016-06-01 电子科技大学 The virtual data center mapping method of a kind of business demand perception
CN103746894B (en) * 2014-01-20 2017-02-01 电子科技大学 Batch virtual network mapping method based on geographic position constraint
CN104363159B (en) * 2014-07-02 2018-04-06 北京邮电大学 A kind of opening virtual network constructing system and method based on software defined network
CN104320343A (en) * 2014-10-28 2015-01-28 北京邮电大学 Electric energy perception cross-domain virtual network mapping method and system
CN104869044B (en) * 2015-06-19 2019-01-29 中国人民解放军信息工程大学 A kind of virtual net mapping method and device
CN105743763B (en) * 2016-04-07 2019-04-16 北京邮电大学 A kind of mapping method of virtual network based on study and reasoning
CN108132827B (en) * 2016-11-30 2021-12-10 华为技术有限公司 Network slice resource mapping method, related equipment and system
CN107135135B (en) * 2017-05-02 2019-09-06 北京邮电大学 A virtual network mapping method and device based on underlying node sorting
CN108989126A (en) * 2018-08-13 2018-12-11 北京邮电大学 A kind of mapping method of virtual network
CN111182037B (en) * 2019-12-13 2022-02-25 中国联合网络通信集团有限公司 Mapping method and device of virtual network

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546232A (en) * 2011-11-03 2012-07-04 北京邮电大学 Multi-topology mapping method of virtual network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7852842B2 (en) * 2004-03-31 2010-12-14 Lg Electronics Inc. Data processing method for network layer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102546232A (en) * 2011-11-03 2012-07-04 北京邮电大学 Multi-topology mapping method of virtual network

Also Published As

Publication number Publication date
CN102932479A (en) 2013-02-13

Similar Documents

Publication Publication Date Title
CN102932479B (en) Virtual network mapping method for realizing topology awareness based on historical data
Sun et al. The cost-efficient deployment of replica servers in virtual content distribution networks for data fusion
Nikolaev et al. On efficient use of entropy centrality for social network analysis and community detection
Li et al. A comparative analysis of evolutionary and memetic algorithms for community detection from signed social networks
CN102388595B (en) Resource matching method and device in VPC migration
Zhang et al. Service recommendation based on quotient space granularity analysis and covering algorithm on Spark
CN105743763A (en) Virtual network mapping method based on learning and reasoning
CN110826164B (en) A Method for Evaluating the Importance of Complex Network Nodes Based on Local and Global Connectivity
CN104820945B (en) Online community network information based on community structure mining algorithm propagates maximization approach
CN106959965A (en) A kind of information processing method and server
CN105183796A (en) Distributed link prediction method based on clustering
CN109754168A (en) Method and device for site selection of charging station
CN105677447B (en) Time delay minimization of bandwidth virtual machine deployment method in distributed cloud based on cluster
CN106503386A (en) The good and bad method and device of assessment luminous power prediction algorithm performance
CN105913287A (en) Influence maximization method based on community structure
CN105488247A (en) K-mean community structure mining method and apparatus
CN105005501A (en) Cloud data center oriented second-order task optimization scheduling method
CN102509248B (en) A kind ofly be applied to the travel Multi-Target Classification Method of forming a team and system
Liu et al. Towards dynamic reconfiguration of composite services via failure estimation of general and domain quality of services
CN105389212B (en) A kind of activity allocation method and device
CN104980517B (en) Cluster sensory perceptual system based on snapshot, method and apparatus
CN107203633A (en) Tables of data pushes away several processing methods, device and electronic equipment
Luo et al. A dynamic virtual force-based data aggregation algorithm for wireless sensor networks
CN1714535A (en) Method and apparatus for designing a data network
CN108334645A (en) One kind feeding back newer activity recommendation method based on graph model

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150107

Termination date: 20151116

EXPY Termination of patent right or utility model