CN103607292A - Fast distributed monitoring method for electric-power communication network services - Google Patents
Fast distributed monitoring method for electric-power communication network services Download PDFInfo
- Publication number
- CN103607292A CN103607292A CN201310517627.XA CN201310517627A CN103607292A CN 103607292 A CN103607292 A CN 103607292A CN 201310517627 A CN201310517627 A CN 201310517627A CN 103607292 A CN103607292 A CN 103607292A
- Authority
- CN
- China
- Prior art keywords
- matrix
- traffic
- flow
- communication network
- power communication
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000012544 monitoring process Methods 0.000 title claims abstract description 31
- 238000004891 communication Methods 0.000 title claims abstract description 19
- 239000011159 matrix material Substances 0.000 claims abstract description 99
- 238000000354 decomposition reaction Methods 0.000 claims description 10
- 238000005259 measurement Methods 0.000 claims description 7
- 230000007935 neutral effect Effects 0.000 claims 1
- 230000006978 adaptation Effects 0.000 abstract 1
- 238000007726 management method Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 230000003044 adaptive effect Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 8
- 238000010276 construction Methods 0.000 description 6
- 238000004088 simulation Methods 0.000 description 3
- ZEFNOZRLAWVAQF-UHFFFAOYSA-N Dinitolmide Chemical compound CC1=C(C(N)=O)C=C([N+]([O-])=O)C=C1[N+]([O-])=O ZEFNOZRLAWVAQF-UHFFFAOYSA-N 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明涉及一种面向电力通信网络业务的快速分布式监测方法,包括如下步骤:生成Bernoulli矩阵,通过该矩阵选择需要直接测量的OD流,并构建流量矩阵;求出观测矩阵;构建优化贪婪自适应字典;由压缩感知重构流量矩阵。本发明根据电力通信网络流量的幂律分布,利用随机矩阵选取部分直接测量的OD流,并根据需求在部分路由器中运行流量采集功能获取这些OD流流量信息。通过这些流量信息构建了端到端网络流量重构模型,利用压缩感知重构算法求解该模型以获取流量的监测值。能够实时准确的获取流量监测值,同时可有效地降低网络流量采集损耗。
The invention relates to a fast distributed monitoring method for electric power communication network services, comprising the following steps: generating a Bernoulli matrix, selecting OD flows to be directly measured through the matrix, and constructing a flow matrix; obtaining an observation matrix; constructing an optimized greedy self Adaptation dictionary; traffic matrix reconstruction by compressed sensing. According to the power-law distribution of the power communication network flow, the present invention uses a random matrix to select some directly measured OD flows, and runs a flow collection function in some routers according to requirements to obtain flow information of these OD flows. Based on these traffic information, an end-to-end network traffic reconstruction model is constructed, and the compressed sensing reconstruction algorithm is used to solve the model to obtain the monitoring value of traffic. It can accurately obtain the flow monitoring value in real time, and can effectively reduce the loss of network flow collection.
Description
技术领域technical field
本发明涉及大规模网络端到端流量测量与分析领域,特别是涉及面向电力通信网络业务的快速分布式监测方法。The invention relates to the field of large-scale network end-to-end flow measurement and analysis, in particular to a fast distributed monitoring method for power communication network services.
背景技术Background technique
随着电力通信网络的快速发展,网络为调度电话、继电保护、自动化等生产实践提供了基本的通信技术支撑。为了实现电网的智能化,电力通信网的接入终端和承载业务变得多样化。这对电力通信网的网络管理、网络监控、网络设计和网络规划等网络流量工程管理提出了更高的要求。端到端网络流量(即源-目的流或OD流)监测是网络管理、流量工程等操作的重要输入参数和实施依据,因此端到端网络流量监测得到了广泛的关注。With the rapid development of power communication networks, the network provides basic communication technology support for production practices such as dispatching telephones, relay protection, and automation. In order to realize the intelligence of the power grid, the access terminals and bearer services of the power communication network become diversified. This puts forward higher requirements for network traffic engineering management such as network management, network monitoring, network design and network planning of power communication network. End-to-end network traffic (source-destination flow or OD flow) monitoring is an important input parameter and implementation basis for operations such as network management and traffic engineering, so end-to-end network traffic monitoring has received extensive attention.
传统的网络监测技术可以实现对大尺度骨干网络流量的实时再现和预测,并通过流量矩阵描述网络流量状态。网络流量监测技术可分为两大类,分别为直接测量和流量估计。相对于流量估计方法,直接测量能够更加精确地描述网络流量动态变化情况。因此网络设备供应商在网络设备中均提供了网络流量采集功能(例如,Cisco路由器的NetFlow)。如图1,传统的网络流量监测方法通过在各个路由器上运行流量采集功能搜集流量状态信息,并通过骨干网络发送给网络管理站。这是获取流量状态信息的最直接的方法。但是运行流量采集功能占用路由器的CPU和内存资源,因此降低了路由器的存储转发能力,此外流量状态信息的传输又额外增加了网络的负载。综上所述,该方法极大地增加了网络损耗,因此在实际中应用较少。Traditional network monitoring technology can realize real-time reproduction and prediction of large-scale backbone network traffic, and describe network traffic status through traffic matrix. Network traffic monitoring techniques can be divided into two categories, namely direct measurement and traffic estimation. Compared with traffic estimation methods, direct measurement can more accurately describe the dynamic changes of network traffic. Therefore, network equipment suppliers provide network traffic collection functions in network equipment (for example, NetFlow of Cisco routers). As shown in Figure 1, the traditional network traffic monitoring method collects traffic status information by running the traffic collection function on each router, and sends it to the network management station through the backbone network. This is the most straightforward way to get traffic status information. However, running the traffic collection function occupies the CPU and memory resources of the router, thus reducing the store-and-forward capability of the router. In addition, the transmission of traffic status information additionally increases the load of the network. To sum up, this method greatly increases the network loss, so it is rarely used in practice.
通过网络管理站控制路由器的流量采集功能,构建分布式的流量监测系统搜集部分端到端网络流量状态信息,并通过流量重构方法可获取所有的端到端网络流量监测值,如图2所示。通过减少直接测量的端到端网络流量的数目来降低网络运营能耗和网络负载。如何确定需要直接测量的部分端到端网络流量,以及在网络管理站如何重构所有的流量状态信息是构建分布式网络流量监测系统时面临的主要问题。现有的方法大多是优化运行采集功能路由器的分布,在最少的路由器上运行流量采集功能测量大部分的端到端网络流量信息。这种方法虽然能显著降低网络损耗,但是会丢失部分的流量信息。因此研究分布式的流量监测系统获取全部的网络流量信息具有重要的研究意义。Through the network management station to control the traffic collection function of the router, a distributed traffic monitoring system is built to collect part of the end-to-end network traffic status information, and all the end-to-end network traffic monitoring values can be obtained through the traffic reconstruction method, as shown in Figure 2. Show. Reduce network operations energy consumption and network load by reducing the amount of directly measured end-to-end network traffic. How to determine the part of the end-to-end network traffic that needs to be directly measured, and how to reconstruct all the traffic status information at the network management station are the main problems when building a distributed network traffic monitoring system. Most of the existing methods are to optimize the distribution of routers running the collection function, and run the flow collection function on the least routers to measure most of the end-to-end network flow information. Although this method can significantly reduce network loss, part of the traffic information will be lost. Therefore, it is of great significance to study the distributed flow monitoring system to obtain all the network flow information.
发明内容Contents of the invention
针对现有技术存在的缺点,解决端到端网络流量实时监测问题,本发明提供面向电力通信网络业务的快速分布式监测方法。该方法根据伯努利测量矩阵和幂律分布特性选择部分直接测量的OD流量;根据这些OD流,建立线性推理问题,然后,利用优化贪婪自适应字典(OGAD)学习算法,使线性推理问题遵守压缩感知技术要求。最后,使用压缩感知重构算法恢复端到端的网络流量。To solve the problem of end-to-end network traffic real-time monitoring for the shortcomings of the prior art, the present invention provides a fast distributed monitoring method for power communication network services. The method selects some directly measured OD flows according to the Bernoulli measurement matrix and power-law distribution characteristics; according to these OD flows, a linear inference problem is established, and then, using the optimized greedy adaptive dictionary (OGAD) learning algorithm, the linear inference problem obeys Compressed Sensing Technical Requirements. Finally, the end-to-end network traffic is recovered using a compressive sensing reconstruction algorithm.
为了实现本发明的目的,本发明采用的技术方案是:In order to realize the purpose of the present invention, the technical scheme adopted in the present invention is:
面向电力通信网络业务的快速分布式监测方法,包括如下步骤:A fast distributed monitoring method for power communication network services, comprising the following steps:
步骤1:生成Bernoulli矩阵,通过该矩阵选择需要直接测量的OD流,并构建流量矩阵;Step 1: Generate a Bernoulli matrix, select the OD flow to be measured directly through the matrix, and construct a flow matrix;
步骤2:求出观测矩阵;Step 2: Find the observation matrix;
观测矩阵的构造依赖于流量矩阵Xpart中的非零行,其它零元素的行代表未知的需要重构的OD流。计算观测矩阵Ym方法如下:The construction of the observation matrix depends on the non-zero rows in the flow matrix X part , and the rows with other zero elements represent unknown OD flows that need to be reconstructed. The method of calculating the observation matrix Y m is as follows:
Ym=B·Xpart (2)其中,B是M×N的Bernoulli矩阵,Xpart是N×T的流量矩阵。则由B、Xpart和观测矩阵Ym形成了一个线性系统;Y m =B·X part (2) where B is an M×N Bernoulli matrix, and X part is an N×T traffic matrix. Then a linear system is formed by B, X part and observation matrix Y m ;
步骤3:构建优化贪婪自适应字典;Step 3: Build an optimized greedy adaptive dictionary;
步骤4:由压缩感知重构流量矩阵。Step 4: Reconstruct the traffic matrix by compressed sensing.
所述的步骤1具体包括如下步骤:Described
步骤1-1:生成Bernoulli矩阵;Step 1-1: Generate Bernoulli matrix;
生成M×N(M<N)的Bernoulli随机矩阵B,N为网络中OD流的数目,其等于网络节点数量的平方。Bernoulli矩阵的元素b(m,n)是独立同分布的,元素等于1的概率为Pr,等于0的概率为1-Pr。A Bernoulli random matrix B of M×N (M<N) is generated, and N is the number of OD flows in the network, which is equal to the square of the number of network nodes. The elements b(m,n) of the Bernoulli matrix are independent and identically distributed, the probability that the element is equal to 1 is Pr, and the probability that the element is equal to 0 is 1-Pr.
步骤1-2:确定需要测量的OD流的数目;Step 1-2: Determine the number of OD flows that need to be measured;
对M×N的Bernoulli矩阵各列分别进行布尔‘或’运算,令S=[S(1),S(2),...,S(N)]T为一个列向量,则需要测量的OD流数目为L=||S||1,||·||1表示l1范数。Boolean 'or' operation is performed on each column of the M×N Bernoulli matrix, Let S=[S(1),S(2),...,S(N)] T is a column vector, then the number of OD streams to be measured is L=||S|| 1 ,||·| | 1 means the l 1 norm.
步骤1-3:直接测量OD流;Steps 1-3: Direct measurement of OD flow;
计算已知的历史流量矩阵X0的每条OD流的均值:Calculate the mean value of each OD flow of the known historical flow matrix X 0 :
其中,T0为历史流量矩阵的长度,N为OD流数目。根据该均值,网络管理站控制路由器上流量采集功能的开关状态,以达到测量最大的L=||S||1个OD流的目的。将已测量的L=||S||1个OD流记为集合{xmea(l)},l=1,2,...,L;Among them, T 0 is the length of the historical traffic matrix, and N is the number of OD flows. According to the mean value, the network management station controls the on/off state of the flow collection function on the router, so as to achieve the purpose of measuring the largest L=||S|| 1 OD flow. Record the measured L=||S|| 1 OD flows as a set {x mea (l)}, l=1,2,...,L;
步骤1-4:根据已知的OD流{xmea(l)},l=1,2,....,L构建流量矩阵;Step 1-4: Construct flow matrix according to known OD flow {x mea (l)}, l=1,2,....,L;
所述的步骤1-4具体包括如下步骤:Described step 1-4 specifically comprises the following steps:
步骤1-4-1:根据步骤1-1、步骤1-2生成Bernoulli随机矩阵B,并对其各列分别进行布尔‘或’运算;Step 1-4-1: Generate a Bernoulli random matrix B according to Step 1-1 and Step 1-2, and perform a Boolean 'or' operation on each column;
步骤1-4-2:初始化流量矩阵为空矩阵,即令l=1,迭代次数j=1,最大迭代次数N;Step 1-4-2: Initialize the flow matrix as an empty matrix, namely Let l=1, the number of iterations j=1, the maximum number of iterations N;
步骤1-4-3:当S(j)=1时,流量矩阵变为否则, Step 1-4-3: When S(j)=1, the flow matrix becomes otherwise,
步骤1-4-4:迭代次数j加1,如果j<N,则返回步骤1-4-3),直到迭代N次为止。得到流量矩阵Xpart, Step 1-4-4: Add 1 to the number of iterations j, if j<N, return to step 1-4-3) until N iterations. Get the traffic matrix X part ,
步骤1-4-5:流量矩阵构建结束。Step 1-4-5: The traffic matrix construction is completed.
所述的步骤3具体包括如下步骤:Described
步骤3-1:初始化数字字典D0为空,即D0=[];Step 3-1: Initialize the digital dictionary D 0 to be empty, that is, D 0 =[];
步骤3-2:对历史流量进行奇异值分解,并提取K个主成分;Step 3-2: Singular value decomposition is performed on the historical traffic, and K principal components are extracted;
步骤3-3:设置冗余项为历史流量的K个主成分,并确定迭代次数iter=N,令j=1, Step 3-3: Set up redundant items are the K principal components of historical traffic, and determine the number of iterations iter=N, let j=1,
步骤3-4:计算Rj稀疏指数ξa,以及稀疏指数对应的列指数aj;Step 3-4: Calculate R j sparse index ξ a , and column index a j corresponding to the sparse index;
其中Rj(a)为第j次迭代后获得的冗余项的第a列,||·||2表示l2范数;Where R j (a) is the a-th column of the redundant item obtained after the j-th iteration, and ||·|| 2 represents the l 2 norm;
步骤3-5:根据步骤3-4得到具有最小稀疏指数的列Rj(aj),并将冗余项中具有最小稀疏指数ξa的第aj列单位化,并把它设为数据字典的第j列,即dj=Rj(aj)/||Rj(aj)||2;Step 3-5: According to step 3-4, get the column R j (a j ) with the smallest sparsity index, and unitize the a jth column with the smallest sparsity index ξa in the redundancy item, and set it as data The jth column of the dictionary, that is, d j =R j (a j )/||R j (a j )|| 2 ;
步骤3-6:根据步骤3-5得到数据字典为:Dj=[Dj-1|dj],Ij=Ij-1∪{aj};然后对所有列a;Step 3-6: Obtain the data dictionary according to step 3-5: D j =[D j-1 |d j ], I j =I j-1 ∪{a j }; then for all columns a;
步骤3-7:更新冗余项,每一个列:Rj+1(a)=Rj(a)-dj<dj,Rj(a)>,其中<·>表示内积;Step 3-7: Update redundant items, each column: R j+1 (a)=R j (a)-d j <d j ,R j (a)>, where <·> represents the inner product;
步骤3-8:迭代次数j=j+1,如果j<N则返回步骤3-4,直到进行N次迭代为止。得到优化贪婪自适应字典D,D=Dj。Step 3-8: the number of iterations j=j+1, if j<N, return to step 3-4 until N iterations are performed. An optimized greedy adaptive dictionary D is obtained, D=D j .
步骤3-9:优化贪婪自适应字典构建完成。Steps 3-9: Optimizing the construction of the greedy adaptive dictionary is completed.
所述的步骤3-2包括如下步骤:Described step 3-2 comprises the following steps:
步骤3-2-1:获取历史流量,对历史流量进行奇异值分解;Step 3-2-1: Obtain historical traffic and perform singular value decomposition on historical traffic;
得到的历史流量矩阵记为X0his。对X0his进行奇异值分解,The obtained historical traffic matrix is denoted as X 0his . Perform singular value decomposition on X 0his ,
其中σk为奇异值,uk称为特征流,vk称为特征向量Among them, σ k is the singular value, u k is called the feature flow, and v k is called the feature vector
步骤3-2-2:提取前K个大的奇异值,其他小的奇异值设置为0;Step 3-2-2: Extract the first K large singular values, and set the other small singular values to 0;
则依据公式(3)有,Then according to formula (3), we have,
为提取了K个最大的奇异值的流量矩阵近似矩阵; is the flow matrix approximation matrix with the K largest singular values extracted;
所述的步骤4具体包括如下步骤:Described
步骤4-1:根据步骤三得到的字典D,通过以下l1范数最小化问题求解N×1的列向量 Step 4-1: According to the dictionary D obtained in
其中,Yt是观测矩阵Y的第t列;Among them, Y t is the tth column of the observation matrix Y;
步骤4-2:通过T次迭代,获得N×T矩阵 Step 4-2: Obtain N×T matrix through T iterations
步骤4-3:计算流量矩阵估计值 Step 4-3: Computing Flow Matrix Estimates
本发明优点:Advantages of the present invention:
本发明根据电力通信网络流量的幂律分布,利用随机矩阵选取部分直接测量的OD流,并根据需求在部分路由器中运行流量采集功能获取部分直接测量的OD流流量信息。通过测量得到的流量信息构建了端到端网络流量重构模型,利用压缩感知重构算法求解该模型以获取流量的监测值。利用本发明方法,能够实时准确的获取流量监测值,同时可有效地降低网络流量采集损耗,有利于网络研究者进行网络行为分析以及网络操作员更好地进行网络管理、网络监控、网络设计和网络规划等网络流量工程管理。According to the power-law distribution of power communication network traffic, the present invention uses a random matrix to select part of directly measured OD flows, and operates a flow collection function in part of routers according to requirements to obtain part of the directly measured OD flow flow information. An end-to-end network traffic reconstruction model is constructed based on the measured traffic information, and the compressed sensing reconstruction algorithm is used to solve the model to obtain traffic monitoring values. Utilizing the method of the present invention, the traffic monitoring value can be obtained accurately in real time, and at the same time, the loss of network traffic collection can be effectively reduced, which is beneficial for network researchers to conduct network behavior analysis and for network operators to better perform network management, network monitoring, network design and Network planning and other network traffic engineering management.
附图说明Description of drawings
图1为本发明中典型的电力通信网络业务流量监测系统框图;Fig. 1 is a typical power communication network business flow monitoring system block diagram among the present invention;
图2为本发明提出的分布式流量监测系统框图;Fig. 2 is a block diagram of the distributed flow monitoring system proposed by the present invention;
图3为本发明实施例的构建新流量矩阵流程图;Fig. 3 is the flowchart of constructing new flow matrix of the embodiment of the present invention;
图4为本发明实施例的构建最优化贪婪自适应字典流程图;Fig. 4 is the flowchart of constructing the optimal greedy adaptive dictionary of the embodiment of the present invention;
图5为本发明实施例的任意一条OD流CSOR方法重构值与真实值示意图;5 is a schematic diagram of reconstructed values and real values of any OD stream CSOR method according to an embodiment of the present invention;
图6为本发明实施例的任意一条OD流SRSVD方法重构值与真实值示意图;Fig. 6 is a schematic diagram of reconstruction value and real value of any OD stream SRSVD method according to the embodiment of the present invention;
图7为本发明实施例CSOR重构方法与SRSVD方法的相对均方根误差示意图;7 is a schematic diagram of the relative root mean square error between the CSOR reconstruction method and the SRSVD method according to the embodiment of the present invention;
图8为本发明实施例CSOR重构方法与SRSVD方法的估计偏差示意图;Fig. 8 is a schematic diagram of the estimated deviation between the CSOR reconstruction method and the SRSVD method according to the embodiment of the present invention;
图9为本发明实施例CSOR重构方法与SRSVD方法的估计偏差的标准差示意图;9 is a schematic diagram of the standard deviation of the estimated deviation between the CSOR reconstruction method and the SRSVD method according to the embodiment of the present invention;
图10为本发明实施例CSOR重构方法需要直接测量的OD流数目的累计分布示意图。Fig. 10 is a schematic diagram of the cumulative distribution of the number of OD flows that need to be directly measured by the CSOR reconstruction method according to the embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图和具体实施例对本发明作进一步的详细说明。The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
对本发明方法进行的仿真实验,采用美国Abilene骨干网数据。Abilene骨干网主要用于教育和科研,其具有12个结点,30条内部链路,24条外部链路,共144条端到端流量,即本发明实施例中取M=54,N=144。仿真数据是通过NetFlow采集的,时间间隔为5min,共计2016个时刻,其中前500个时刻的流量数据作为预先测量的流量矩阵,即本发明实施例中取T=2016,T0=500,以便计算OD流的均值和建立基于压缩感知的最优重建模型(CSOR),如图2所示。The simulation experiment carried out to the method of the present invention adopts the data of the backbone network of Abilene in the United States. The Abilene backbone network is mainly used for education and scientific research. It has 12 nodes, 30 internal links, 24 external links, and a total of 144 end-to-end flows. That is, in the embodiment of the present invention, M=54, N= 144. The simulation data is collected through NetFlow with a time interval of 5 minutes, a total of 2016 moments, of which the flow data of the first 500 moments are used as the pre-measured flow matrix, that is, in the embodiment of the present invention, T=2016, T 0 =500, so that Calculate the mean value of the OD flow and establish the optimal reconstruction model (CSOR) based on compressed sensing, as shown in Figure 2.
本发明面向电力通信网络业务的快速分布式监测方法,步骤如下:The present invention is oriented to the fast distributed monitoring method of electric power communication network business, and the steps are as follows:
步骤1:生成Bernoulli矩阵,通过该矩阵选择需要直接测量的OD流,并构建流量矩阵;Step 1: Generate a Bernoulli matrix, select the OD flow to be measured directly through the matrix, and construct a flow matrix;
具体包括如下步骤:Specifically include the following steps:
步骤1-1:生成Bernoulli矩阵;Step 1-1: Generate Bernoulli matrix;
生成54×144的Bernoulli随机矩阵B。Bernoulli矩阵的元素b(m,n)是独立同分布的,本实施例中取Pr=0.01,即元素等于1的概率为0.01,等于0的概率为0.99。Generate a 54×144 Bernoulli random matrix B. The elements b(m,n) of the Bernoulli matrix are independent and identically distributed. In this embodiment, Pr=0.01, that is, the probability that the element is equal to 1 is 0.01, and the probability that the element is equal to 0 is 0.99.
步骤1-2:确定需要测量的OD流的数目;Step 1-2: Determine the number of OD flows that need to be measured;
对54×144的Bernoulli矩阵各列分别进行布尔‘或’运算,令S=[S(1),S(2),...,S(144)]T为一个列向量,则需要测量的OD流数目为L=||S||1,||·||1表示l1范数。Boolean 'or' operation is performed on each column of the 54×144 Bernoulli matrix, Let S=[S(1),S(2),...,S(144)] T is a column vector, then the number of OD streams to be measured is L=||S|| 1 ,||·| | 1 means the l 1 norm.
步骤1-3:直接测量OD流;Steps 1-3: Direct measurement of OD flow;
计算已知的历史流量矩阵X0的每条OD流的均值:Calculate the mean value of each OD flow of the known historical flow matrix X 0 :
其中,T0为历史流量矩阵的长度,实施例中我们截取500时刻的历史流量,即T0=500。根据该均值,网络管理站控制路由器上流量采集功能的开关状态,以达到测量最大的L=||S||1个OD流的目的。将已测量的L=||S||1个OD流记为集合{xmea(l)},l=1,2,...,L。Wherein, T 0 is the length of the historical traffic matrix. In the embodiment, we intercept the historical traffic at
步骤1-4:根据已知的OD流{xmea(l)},l=1,2,....,L构建流量矩阵,如附图3所示,具体步骤如下:Step 1-4: Construct flow matrix according to the known OD flow {x mea (l)}, l=1, 2, ..., L, as shown in Figure 3, the specific steps are as follows:
步骤1-4-1:根据步骤1-1、步骤1-2生成Bernoulli随机矩阵B,并对其各列分别进行布尔‘或’运算;Step 1-4-1: Generate a Bernoulli random matrix B according to Step 1-1 and Step 1-2, and perform a Boolean 'or' operation on each column;
步骤1-4-2:初始化流量矩阵为空矩阵,即令l=1,迭代次数j=1,最大迭代次数144;Step 1-4-2: Initialize the flow matrix as an empty matrix, namely Let l=1, the number of iterations j=1, and the maximum number of iterations is 144;
步骤1-4-3:当S(j)=1时,流量矩阵变为l=l+1;否则, Step 1-4-3: When S(j)=1, the flow matrix becomes l=l+1; otherwise,
步骤1-4-4:迭代次数j加1,如果j<144,则返回步骤1-4-3,直到迭代144次为止。得到流量矩阵Xpart, Step 1-4-4: Add 1 to the number of iterations j, if j<144, return to step 1-4-3 until 144 iterations. Get the traffic matrix X part ,
步骤1-4-5:流量矩阵构建结束。Step 1-4-5: The traffic matrix construction is completed.
步骤2:求出观测矩阵;Step 2: Find the observation matrix;
本发明中观测矩阵的构造仅仅依赖于流量矩阵Xpart中的非零行,其它零元素的行代表未知的需要重构的OD流。计算观测矩阵Ym方法如下:The construction of the observation matrix in the present invention only depends on the non-zero rows in the flow matrix X part , and the rows with other zero elements represent unknown OD flows that need to be reconstructed. The method of calculating the observation matrix Y m is as follows:
Ym=B·Xpart (2)其中,B和Xpart通过步骤一获得。则由B、Xpart和观测矩阵Ym形成了一个线性系统。Y m =B·X part (2) where B and X part are obtained through
步骤3:构建优化贪婪自适应字典,如附图4所示,具体步骤如下:Step 3: Build an optimized greedy adaptive dictionary, as shown in Figure 4, the specific steps are as follows:
步骤3-1:初始化数字字典D0为空,即D0=[];Step 3-1: Initialize the digital dictionary D 0 to be empty, that is, D 0 =[];
步骤3-2:对历史流量进行奇异值分解,并提取K个主成分,实施例中取K=6,则具体包括:Step 3-2: Singular value decomposition is performed on the historical traffic, and K principal components are extracted. In the embodiment, K=6, it specifically includes:
步骤3-2-1:获取历史流量,对历史流量进行奇异值分解;Step 3-2-1: Obtain historical traffic, and perform singular value decomposition on historical traffic;
得到的历史流量矩阵记为X0his。对X0his进行奇异值分解,The obtained historical traffic matrix is denoted as X 0his . Perform singular value decomposition on X 0his ,
其中σk为奇异值,uk称为特征流,vk称为特征向量Among them, σ k is the singular value, u k is called the feature flow, and v k is called the feature vector
步骤3-2-2:提取前6个大的奇异值,其他小的奇异值设置为0;Step 3-2-2: Extract the first 6 large singular values, and set the other small singular values to 0;
则依据公式(3)有,Then according to formula (3), we have,
为提取了6个最大的奇异值的流量矩阵近似矩阵; is the flow matrix approximation matrix with the 6 largest singular values extracted;
步骤3-3:设置冗余项为历史流量的6个主成分,并确定迭代次数iter=144,令j=1, Step 3-3: Set up redundant items are the 6 principal components of historical traffic, and determine the number of iterations iter=144, let j=1,
步骤3-4:计算Rj稀疏指数ξa,以及稀疏指数对应的列指数aj;Step 3-4: Calculate R j sparse index ξ a , and column index a j corresponding to the sparse index;
其中Rj(a)为第j次迭代后获得的冗余项的第a列,||·||2表示l2范数;Where R j (a) is the a-th column of the redundant item obtained after the j-th iteration, and ||·|| 2 represents the l 2 norm;
步骤3-5:根据步骤3-4得到具有最小稀疏指数的列Rj(aj),并将冗余项中具有最小稀疏指数ξa的第aj列单位化,并把它设为数据字典的第j列,即dj=Rj(aj)/||Rj(aj)||2;Step 3-5: According to step 3-4, get the column R j (a j ) with the smallest sparsity index, and unitize the a jth column with the smallest sparsity index ξa in the redundancy item, and set it as data The jth column of the dictionary, that is, d j =R j (a j )/||R j (a j )|| 2 ;
步骤3-6:根据步骤3-5得到数据字典为:Dj=[Dj-1|dj],Ij=Ij-1∪{aj};然后对所有列a;Step 3-6: Obtain the data dictionary according to step 3-5: D j =[D j-1 |d j ], I j =I j-1 ∪{a j }; then for all columns a;
步骤3-7:更新冗余项,每一个列:Rj+1(a)=Rj(a)-dj<dj,Rj(a)>,其中<·>表示内积;Step 3-7: Update redundant items, each column: R j+1 (a)=R j (a)-d j <d j ,R j (a)>, where <·> represents the inner product;
步骤3-8:迭代次数j=j+1,如果j<144则返回步骤3-4,直到进行144次迭代为止。得到优化贪婪自适应字典D,D=Dj。Step 3-8: the number of iterations j=j+1, if j<144, return to step 3-4 until 144 iterations are performed. An optimized greedy adaptive dictionary D is obtained, D=D j .
步骤3-9:优化贪婪自适应字典构建完成。Steps 3-9: Optimizing the construction of the greedy adaptive dictionary is completed.
步骤4:由压缩感知重构流量矩阵;Step 4: Reconstruct the traffic matrix by compressed sensing;
具体步骤如下:Specific steps are as follows:
步骤4-1:根据步骤3得到的字典D,通过以下l1范数最小化问题求解NX1的列向量 Step 4-1: According to the dictionary D obtained in
其中,Yt是观测矩阵Y的第t列。where Y t is the tth column of the observation matrix Y.
步骤4-2:通过T=2016次迭代,获得144×2016矩阵 Step 4-2: Obtain a 144×2016 matrix through T=2016 iterations
步骤4-3:计算流量矩阵估计值 Step 4-3: Computing Flow Matrix Estimates
为了更好的评估本发明的重构性能,我们计算相对均方根误差、重构偏差和偏差标准差。In order to better evaluate the reconstruction performance of the present invention, we calculate the relative root mean square error, reconstruction bias and bias standard deviation.
仿真实验中将本发明所提算法(CSOR)与稀疏正则奇异值分解(SRSVD)算法进行对比,结果显示本发明所提算法可以很精确的重构出端到端网络流量。图5为CSOR算法对第20条OD流的重构结果,图6为SRSVD算法对第20条OD流的重构结果。其中,实线表示真实的流量,虚线表示其重构值。从该图中可以看出,CSOR重构方法虽然或多或少存在过估计和欠估计现象,但CSOR能够很好地跟踪OD流的动态变化趋势,非常逼近OD流的真实值。图7为CSOR和SRSVD算法相对均方根误差。其中实线为CSOR算法,虚线为SRSVD算法。从图中可以看出,本发明方法CSOR的相对均方根误差较小。为了进一步评估本发明提出的方法,我们引入重构偏差与偏差标准差。从图8和图9中可以看出,CSOR方法的重构偏差较小,此外标准差也很小,这说明本发明所提方法具有较强的稳定性。接下来评估CSOR的经济效益,图10画出了我们需要直接测量OD流数目的累计分布函数,从中可以看出大约96%的情况下我们只需要测量70条OD流,也就是说我们只需要测量49%的OD流就可得到所有144条OD流的监测结果。In the simulation experiment, the proposed algorithm (CSOR) of the present invention is compared with the Sparse Regularized Singular Value Decomposition (SRSVD) algorithm, and the results show that the proposed algorithm of the present invention can accurately reconstruct end-to-end network traffic. Figure 5 is the reconstruction result of the 20th OD stream by the CSOR algorithm, and Figure 6 is the reconstruction result of the 20th OD stream by the SRSVD algorithm. Among them, the solid line represents the real traffic, and the dotted line represents its reconstructed value. It can be seen from the figure that although the CSOR reconstruction method has more or less overestimation and underestimation phenomena, CSOR can track the dynamic change trend of the OD flow very well, and is very close to the true value of the OD flow. Figure 7 shows the relative root mean square error of the CSOR and SRSVD algorithms. The solid line is the CSOR algorithm, and the dashed line is the SRSVD algorithm. It can be seen from the figure that the relative root mean square error of the method CSOR of the present invention is small. To further evaluate the proposed method in this invention, we introduce reconstruction bias and bias standard deviation. It can be seen from Fig. 8 and Fig. 9 that the reconstruction deviation of the CSOR method is small, and the standard deviation is also small, which shows that the method proposed by the present invention has strong stability. Next, evaluate the economic benefits of CSOR. Figure 10 shows the cumulative distribution function of the number of OD flows that we need to measure directly. It can be seen that in about 96% of cases, we only need to measure 70 OD flows, that is to say, we only need Measuring 49% of the OD streams provides monitoring results for all 144 OD streams.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310517627.XA CN103607292B (en) | 2013-10-28 | 2013-10-28 | A Fast Distributed Monitoring Method for Power Communication Network Services |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310517627.XA CN103607292B (en) | 2013-10-28 | 2013-10-28 | A Fast Distributed Monitoring Method for Power Communication Network Services |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103607292A true CN103607292A (en) | 2014-02-26 |
CN103607292B CN103607292B (en) | 2017-01-18 |
Family
ID=50125493
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310517627.XA Active CN103607292B (en) | 2013-10-28 | 2013-10-28 | A Fast Distributed Monitoring Method for Power Communication Network Services |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103607292B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105071963A (en) * | 2015-08-06 | 2015-11-18 | 东北大学 | Multi-service traffic estimation method facing big data Internet |
CN105979541A (en) * | 2016-07-18 | 2016-09-28 | 国网辽宁省电力有限公司阜新供电公司 | Method and system for estimating dynamic traffic in data communication network |
CN106301950A (en) * | 2016-09-07 | 2017-01-04 | 中国联合网络通信集团有限公司 | A kind of OD stream quantitative analysis method and analytical equipment |
CN107294794A (en) * | 2017-07-31 | 2017-10-24 | 国网辽宁省电力有限公司 | A kind of large-scale ip communication service matrix estimation method and system |
CN109040002A (en) * | 2018-05-28 | 2018-12-18 | 佛山市顺德区中山大学研究院 | Real-time reconstruction method of smart meter data based on compressed sensing |
CN110149245A (en) * | 2019-05-24 | 2019-08-20 | 广州大学 | The compressed sensing based high-speed network flow method of sampling and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7293086B1 (en) * | 2002-07-25 | 2007-11-06 | At&T Corp. | Traffic matrix estimation method and apparatus |
US7313095B1 (en) * | 2003-11-06 | 2007-12-25 | Sprint Communications Company L.P. | Method for estimating telecommunication network traffic using link weight changes |
CN102647354A (en) * | 2012-04-12 | 2012-08-22 | 东北大学 | A method for reconstruction of end-to-end traffic in time-varying dynamic network |
CN102724078A (en) * | 2012-06-29 | 2012-10-10 | 蒋定德 | End-to-end network flow reconstruction method based on compression sensing in dynamic network |
CN102842115A (en) * | 2012-05-31 | 2012-12-26 | 哈尔滨工业大学(威海) | Compressed sensing image super-resolution reconstruction method based on double dictionary learning |
CN103200043A (en) * | 2013-03-14 | 2013-07-10 | 东北大学 | Measurement method for time-varying non-stationary network flow |
-
2013
- 2013-10-28 CN CN201310517627.XA patent/CN103607292B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7293086B1 (en) * | 2002-07-25 | 2007-11-06 | At&T Corp. | Traffic matrix estimation method and apparatus |
US7313095B1 (en) * | 2003-11-06 | 2007-12-25 | Sprint Communications Company L.P. | Method for estimating telecommunication network traffic using link weight changes |
CN102647354A (en) * | 2012-04-12 | 2012-08-22 | 东北大学 | A method for reconstruction of end-to-end traffic in time-varying dynamic network |
CN102842115A (en) * | 2012-05-31 | 2012-12-26 | 哈尔滨工业大学(威海) | Compressed sensing image super-resolution reconstruction method based on double dictionary learning |
CN102724078A (en) * | 2012-06-29 | 2012-10-10 | 蒋定德 | End-to-end network flow reconstruction method based on compression sensing in dynamic network |
CN103200043A (en) * | 2013-03-14 | 2013-07-10 | 东北大学 | Measurement method for time-varying non-stationary network flow |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105071963A (en) * | 2015-08-06 | 2015-11-18 | 东北大学 | Multi-service traffic estimation method facing big data Internet |
CN105979541A (en) * | 2016-07-18 | 2016-09-28 | 国网辽宁省电力有限公司阜新供电公司 | Method and system for estimating dynamic traffic in data communication network |
CN105979541B (en) * | 2016-07-18 | 2019-05-14 | 国网辽宁省电力有限公司阜新供电公司 | Dynamic flow estimation method and system in a kind of data communication network |
CN106301950A (en) * | 2016-09-07 | 2017-01-04 | 中国联合网络通信集团有限公司 | A kind of OD stream quantitative analysis method and analytical equipment |
CN106301950B (en) * | 2016-09-07 | 2019-08-09 | 中国联合网络通信集团有限公司 | A kind of analysis method and analytical equipment of OD flow |
CN107294794A (en) * | 2017-07-31 | 2017-10-24 | 国网辽宁省电力有限公司 | A kind of large-scale ip communication service matrix estimation method and system |
CN109040002A (en) * | 2018-05-28 | 2018-12-18 | 佛山市顺德区中山大学研究院 | Real-time reconstruction method of smart meter data based on compressed sensing |
CN109040002B (en) * | 2018-05-28 | 2022-05-13 | 佛山市顺德区中山大学研究院 | A Real-time Reconstruction Method of Smart Meter Data Based on Compressed Sensing |
CN110149245A (en) * | 2019-05-24 | 2019-08-20 | 广州大学 | The compressed sensing based high-speed network flow method of sampling and device |
Also Published As
Publication number | Publication date |
---|---|
CN103607292B (en) | 2017-01-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Jiang et al. | A compressive sensing-based approach to end-to-end network traffic reconstruction | |
CN103607292B (en) | A Fast Distributed Monitoring Method for Power Communication Network Services | |
CN110601777B (en) | Method for estimating satellite-ground downlink co-channel interference under low-orbit mobile satellite constellation | |
CN107423839A (en) | A kind of method of the intelligent building microgrid load prediction based on deep learning | |
Liang et al. | A combined model based on CEEMDAN, permutation entropy, gated recurrent unit network, and an improved bat algorithm for wind speed forecasting | |
CN101793907A (en) | Short-term wind speed forecasting method of wind farm | |
CN116381517A (en) | A probabilistic prediction method for the remaining life of lithium batteries based on temporal convolutional attention mechanism | |
CN104133143B (en) | A kind of Guangdong power system diagnostic system and method calculating platform based on Hadoop cloud | |
CN111126562A (en) | Target algorithm fitting method, terminal and application based on neural network | |
Kaplan et al. | A novel method based on Weibull distribution for short-term wind speed prediction | |
CN111160716A (en) | Large power grid vulnerability assessment method based on tidal current betweenness | |
CN117668743A (en) | Time sequence data prediction method of association time-space relation | |
CN113344283B (en) | Evaluation method for new energy consumption capacity of Energy Internet based on edge intelligence | |
CN112508279A (en) | Regional distributed photovoltaic prediction method and system based on spatial correlation | |
CN118941098B (en) | Power system situation awareness method based on Chebyshev diagram neural network | |
Zhu et al. | Wind speed short-term prediction based on empirical wavelet transform, recurrent neural network and error correction | |
Yao et al. | Wind speed forecasting by wavelet neural networks: a comparative study | |
CN117856250A (en) | Regional wind power prediction system and method based on MTL and TCN | |
CN110675276B (en) | Method and system for inversion droop control of direct current power transmission system | |
CN107437799A (en) | A kind of appraisal procedure for determining power network bulk transmission grid circuit | |
CN115906605A (en) | Distributed information energy system multi-agent model construction method and application | |
CN107918920A (en) | The output correlation analysis method of more photovoltaic plants | |
CN104699950B (en) | A kind of probabilistic loadflow computational methods for including random power cell relativity problem | |
Liu et al. | Resilient distributed filtering for discrete time-varying systems with missing measurements and stochastic uncertainties | |
Gao et al. | A Novel Ensemble Learning-Based Method for Online Total Transfer Capability Assessment of New Power System With Increased Stochastics |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |