CN1195363C - Method for evaluating route performances of quality of service based on linear structure - Google Patents
Method for evaluating route performances of quality of service based on linear structure Download PDFInfo
- Publication number
- CN1195363C CN1195363C CNB021599297A CN02159929A CN1195363C CN 1195363 C CN1195363 C CN 1195363C CN B021599297 A CNB021599297 A CN B021599297A CN 02159929 A CN02159929 A CN 02159929A CN 1195363 C CN1195363 C CN 1195363C
- Authority
- CN
- China
- Prior art keywords
- path
- quality
- link
- service
- linear
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
基于线性构造的服务质量路由性能评价方法属于互联网路由性能评价技术领域,其特征在于:它是基子线性能量函数g(e)=∑k l=1(alWl(e))而把互联网的多重度量路径问题转化为能用Dijkstra算法计算最小能量路径问题的方法,其中e为链路,l为k重度量的序号,1≤l≤k,al∈[0,1]为与链路e无关的系数且满足∑k l=1al=1;它先在拓扑图上随机选取源、目的节点对(s,t),再从s到t根据路径线性能量函数等于路径上各个链路的线性能量函数之和的原理用Dijkstra算法建立具有最小能量值的路径,进而把该路径的度量值作为节点对(s,t)的服务质量请求的约束条件c,从而保证所模拟产生的服务质量请求具有可行路径。实验结果表明,这种评价方法不仅能够代表真正的应用业务,而且能够很好的反映路由的性能。
The quality of service routing performance evaluation method based on linear structure belongs to the technical field of Internet routing performance evaluation, and is characterized in that: it is a basic linear energy function g (e)=∑ k l=1 (a l W l (e)) and the Internet The multi-metric path problem can be transformed into a method that can use the Dijkstra algorithm to calculate the minimum energy path problem, where e is the link, l is the serial number of the k-weight measure, 1≤l≤k, a l ∈ [0, 1] is the and chain The path e has nothing to do with coefficients and satisfies ∑ k l=1 a l =1; it first randomly selects source and destination node pairs (s, t) on the topological graph, and then from s to t according to the path linear energy function is equal to each The principle of the sum of the linear energy functions of the link uses the Dijkstra algorithm to establish a path with the minimum energy value, and then uses the metric value of the path as the constraint c of the node pair (s, t)’s QoS request, so as to ensure that the simulated A quality of service request for has a feasible path. Experimental results show that this evaluation method can not only represent the real application business, but also reflect the routing performance well.
Description
技术领域technical field
基于线性构造的服务质量路由性能评价方法属于互联网路由性能评价技术领域,尤其涉及具有多个服务质量参数作为约束条件的服务质量路由评价方法。A quality of service routing performance evaluation method based on a linear structure belongs to the technical field of Internet routing performance evaluation, and in particular relates to a quality of service routing evaluation method with multiple quality of service parameters as constraint conditions.
背景技术Background technique
评价服务质量(Quality-of-service,QoS)路由算法性能的常用方法有两种。(1)竞争率:算法能够找到可行路径的请求数目与存在可行路径的请求数目的比值;(2)路由成功率:算法能够找到可行路径的请求数目与所模拟的总请求数目的比值。There are two common methods for evaluating the performance of Quality-of-service (QoS) routing algorithms. (1) Competition rate: the ratio of the number of requests that the algorithm can find feasible paths to the number of requests that have feasible paths; (2) Routing success rate: the ratio of the number of requests that the algorithm can find feasible paths to the total number of simulated requests.
这两种评价方法的区别在于作为分母的QoS请求是否一定具有可行路径。这两种方法都有一个共同的缺陷:计算结果很大程度上依赖于所产生的QoS请求的限定条件,即QoS约束的分布。而且对于大规模网络拓扑图来说,由于很难判断一个QoS请求是否存在可行路径,因此路由成功率得到了广泛的应用。然而路由成功率更大程度上依赖于QoS请求的约束条件,不同的文献采用不同的产生方法,这导致路由成功率失去了绝对数值的评价意义,只有在同一批数据的相对比较中才有意义,所以不同文献所给出的性能评价数据无法进行直接比较。The difference between these two evaluation methods lies in whether the QoS request as the denominator must have a feasible path. These two methods have a common defect: the calculation result largely depends on the qualification condition of the generated QoS request, that is, the distribution of QoS constraints. Moreover, for large-scale network topology graphs, since it is difficult to judge whether a QoS request has a feasible path, the routing success rate has been widely used. However, the routing success rate depends on the constraints of the QoS request to a greater extent. Different documents use different generation methods, which leads to the loss of the evaluation significance of the absolute value of the routing success rate. It is only meaningful in the relative comparison of the same batch of data. , so the performance evaluation data given by different literatures cannot be directly compared.
发明内容Contents of the invention
本发明的目的在于提供一种基于线性构造的服务质量路由性能评价方法。The purpose of the present invention is to provide a linear structure-based QoS routing performance evaluation method.
本发明所提出的方法的特征在于:它用计算机首先在服务质量路由中给每条链路e关联上一组k重相互无关的权值(w1(e),w2(e),…,wk(e)),即链路e的服务质量度量w(e),再基于链路的线性函数
(1)使用计算机输入每条链路具有k重度量值(w1(e),w2(e),…,wk(e))的互联网拓扑图G;(1) use a computer to input the Internet topology graph G with k weight values (w 1 (e), w 2 (e), ..., w k (e)) for each link;
(2)随机产生服务质量请求的源节点s、目标节点t,并保证(s,t)之间的最小跳数(即从s到t所经过的节点数)不小于3;(2) Randomly generate the source node s and target node t of the service quality request, and ensure that the minimum number of hops between (s, t) (that is, the number of nodes passed from s to t) is not less than 3;
(3)对所有l=1,2,…,k,在[0,1]区间产生均匀分布的随机数bl~uniform(0,1)(即[0,1]区间内的均匀分布),然后令
(4)计算每条链路的能量值
(5)根据上述能量值,以s为树根计算以能量值g(e)为评价标准的最短路径树(Shortestpath tree,SPT);(5) According to the above-mentioned energy value, take s as the tree root to calculate the shortest path tree (Shortestpath tree, SPT) with the energy value g(e) as the evaluation standard;
(6)以沿着该SPT从s到达t的路径为基础,计算该路径的各个度量值。(6) Based on the path from s to t along the SPT, calculate each metric value of the path.
实验证明:这性能评价方法不但能够模拟出具有实际意义的服务质量请求,而且所模拟的请求均具有可行路径,因而能够将原来只能用于相对评价的性能指标路由成功率扩展到绝对指标竞争率,同时该方法较其他方法更容易分辨出不同算法之间的性能诧异。The experiment proves that this performance evaluation method can not only simulate the service quality request with practical significance, but also the simulated request has a feasible path, so it can extend the performance index routing success rate that can only be used for relative evaluation to absolute index competition At the same time, this method is easier to distinguish the performance surprises between different algorithms than other methods.
附图说明Description of drawings
图1.性能评价方法流程图Figure 1. Flow chart of performance evaluation method
图2.性能评价方法使用说明实例Figure 2. Examples of instructions for use of performance evaluation methods
图3.性能评价方法应用结果举例Figure 3. Examples of application results of performance evaluation methods
具体实施方式Detailed ways
为了便于描述,我们首先给出有向图模型和几个定义。For the convenience of description, we first give the directed graph model and several definitions.
用有向图G(V,E)表示一个网络,其中V为节点集,元素v∈V称为图G的一个顶点(节点);E为弧集,元素eij∈E记为e=vi→vj称为图G的一条边。在QoSR中给每个链路e关联上一组相互无关的权值(w1(e),w2(e),…,wk(e))称为链路e的QoS度量,简写为w(e)。其中wl(e)∈R+为路径约束类型的度量,对1≤l≤k。也就是对于路径p=v0→v1→…→vn,权值
定义1:多约束路径Definition 1: Multiple constraint paths
对于给定的有向图G(V,E),包含源节点s、目标节点t和k≥2重权值wk(e)∈R+,以及约束向量c=(c1,c2,…,ck),从s到t的路径p称为多约束路径,如果wl(p)≤cl,对1≤l≤k,简写为w(p)≤c。 □For a given directed graph G(V, E), it contains source node s, target node t and k≥2 weight value w k (e)∈R + , and constraint vector c=(c 1 , c 2 , ..., c k ), the path p from s to t is called multi-constrained path, if w l (p)≤c l , for 1≤l≤k, it is abbreviated as w(p)≤c. □
这里的w(e)和c都是k维向量。而对于给定的QoS请求及其限制条件c,QoSR的主要任务就是在当前网络状态下寻找满足要求的路径p,使得w(p)≤c。Both w(e) and c here are k-dimensional vectors. For a given QoS request and its constraint c, the main task of QoSR is to find a path p that meets the requirements in the current network state, so that w(p)≤c.
1.线性能量函数1. Linear energy function
Dijkstra给出了单一度量下计算最短路径树SPT(Shortest Path Tree)的算法,并且具有较低的算法复杂度。然而对于多重受限的服务质量路由QoSR(QoS Routing)问题涉及到同时考虑多种度量,因此导致问题变为NP完全(即多项式时间不可解)的复杂度而无法使用原有算法。一种可能的求解思路是将多种度量转化为单一度量。Dijkstra gave an algorithm for calculating the shortest path tree SPT (Shortest Path Tree) under a single metric, and has a low algorithm complexity. However, the QoSR (QoS Routing) problem involving multiple restricted quality of service involves considering multiple metrics at the same time, so the problem becomes NP-complete (that is, polynomial time unsolvable) complexity and the original algorithm cannot be used. One possible solution is to convert multiple metrics into a single metric.
定义2:线性能量函数ga Definition 2: Linear energy function g a
令线性函数
基于这样的线性能量函数,我们将原来的多重受限路径问题转化为最小能量路径问题。能量函数的每个系数则表明了在计算“最优路径”时,该系数所对应的度量与其他度量相比的相对重要程度。Based on such a linear energy function, we transform the original multiple constrained path problem into a minimum energy path problem. Each coefficient of the energy function indicates the relative importance of the metric it corresponds to compared to other metrics in computing the "best path".
定理1:以最小化ga(e)为目标使用Dijkstra算法,可以建立以节点s为根的最小能量树T(ga),满足沿着T(ga)从s到任意节点t的路径pT有ga(pT)=minp(s,t)∈Gga(p(s,t))。Theorem 1: Using Dijkstra algorithm with the goal of minimizing g a (e), a minimum energy tree T(g a ) with node s as the root can be established, satisfying the path from s to any node t along T(g a ) p T has g a (p T )=min p(s, t)∈G g a (p(s, t)).
证明:因为ga(e)为线性函数,满足
ga(pT)=minp(s,t)∈Gga(p(s,t))。 □g a (p T )=min p(s,t)∈G g a (p(s,t)). □
以满足定义2的能量系数a为自变量,我们将最小能量树T(ga)简记为Ta,而将沿着T(ga)从s到t的路径pT记为pa。Taking the energy coefficient a
在QoSR路由性能评价中,我们注意到即便是对同一个网络和QoS请求的源目的对集{(s,t)},只要其约束条件的产生遵从不同的分布或不同的范围,算法的性能也将大相径庭,这也是导致不同文献的算法评价所给出的数据无法进行比较的主要原因。然而由于Internet缺少典型结构,对将来QoS请求的约束条件更缺乏足够的认识,因此很难给出合理的模型和分布。实际中很多QoS业务对路径上多种度量的关心程度是不同的,例如为了提高文件传输的性能,通常认为丢失率的重要性比延迟大若干倍。基于这种思想,我们在归一化链路度量的基础上,对给定源目的对(s,t)的QoS请求,为产生其约束条件设计了权重比例仿真法,该方法的流程图如图1所示。In the QoSR routing performance evaluation, we noticed that even for the same network and QoS request source-destination pair set {(s, t)}, as long as the generation of its constraints follows different distributions or different ranges, the performance of the algorithm It will also be very different, which is the main reason why the data given by the algorithm evaluation of different literatures cannot be compared. However, because the Internet lacks a typical structure and lacks sufficient understanding of the constraints of future QoS requests, it is difficult to give a reasonable model and distribution. In practice, many QoS services have different degrees of concern for various metrics on the path. For example, in order to improve the performance of file transfer, it is generally considered that the loss rate is several times more important than the delay. Based on this idea, on the basis of normalized link metrics, we design a weight ratio simulation method to generate its constraints for the QoS request of a given source-destination pair (s, t). The flow chart of this method is shown in Figure 1 shows.
针对每个源目的对(s,t)产生QoS约束条件时,首先取随机数bl~uniform[0,1](即[0,1]区间内的均匀分布),然后令
例如,在如图2.a所示的网络中,随机选取源目的对为(s,t),现为其产生约束条件。取随机数b0=0、b1=1,则关心系数a0=0、a1=1,因此线性能量函数g(e)=w1(e)。使用Dijkstra算法时,优化的目标为最小化g(e)=w1(e)。例如其中计算节点c的连接状况时,发现路径g(sac)=7而g(sbc)=10,因此计算出从s到t的具有最小能量值的路径p(s,t)为(sacdt),能量值为9,如图2.b所示。该路径的度量值为(16,9),因此模拟产生了从s到t具有约束条件(16,9)的QoS业务。显然,路径(sacdt)满足该约束条件。For example, in the network shown in Figure 2.a, the source-destination pair (s, t) is randomly selected, and constraints are generated for it. Taking random numbers b 0 =0, b 1 =1, the concerned coefficients a 0 =0, a 1 =1, so the linear energy function g(e)=w 1 (e). When using Dijkstra's algorithm, the goal of optimization is to minimize g(e)=w 1 (e). For example, when calculating the connection status of node c, it is found that the path g(sac)=7 and g(sbc)=10, so the path p(s, t) with the minimum energy value from s to t is calculated as (sacdt) , the energy value is 9, as shown in Figure 2.b. The metric value of this path is (16, 9), so the simulation generates a QoS service with constraint condition (16, 9) from s to t. Clearly, the path (sacdt) satisfies this constraint.
此外,不同的关心系数可能导致不同的约束条件。例如,取随机数b0=1、b1=0,则关心系数a0=1、a1=0,因此线性能量函数g(e)=w0(e)。使用Dijkstra算法计算出从s到t的具有最小能量值的路径p(s,t)为(sbcdt),能量值为12,如图2.c所示。该路径的度量值为(12,12),因此相当于产生了从s到t具有约束条件(12,12)的QoS业务,并且该业务至少具有一条可行路径,即(sbcdt)。Furthermore, different care coefficients may result in different constraints. For example, if random numbers b 0 =1 and b 1 =0 are taken, then the coefficients of interest are a 0 =1 and a 1 =0, so the linear energy function g(e)=w 0 (e). Using the Dijkstra algorithm to calculate the path p(s, t) with the minimum energy value from s to t is (sbcdt), and the energy value is 12, as shown in Figure 2.c. The metric value of the path is (12, 12), so it is equivalent to generating a QoS service with the constraint condition (12, 12) from s to t, and the service has at least one feasible path, ie (sbcdt).
目前,我们已经将这种路由性能评价方式应用到实际当中,采用Pentium III 933MHz的CPU和256MB内存,实验结果如图3所示,其中横坐标表示网络的度量个数,纵坐标表示路由成功率,网络节点数分别为50、100、200和500。图示结果表明,使用不同的算法或算法配置,在这种性能评价方法下,算法性能能够较明显的体现出来。由于基于服务质量的网络是国际互联网发展的必然方向,而网络中的路由器为了提供QoS的支持,就需要使用QoSR算法,因此QoSR算法的性能评价方法也将广泛的应用在实际当中。At present, we have applied this routing performance evaluation method to practice, using Pentium III 933MHz CPU and 256MB memory, the experimental results are shown in Figure 3, where the abscissa indicates the number of network measurements, and the ordinate indicates the routing success rate , the number of network nodes are 50, 100, 200 and 500 respectively. The graphical results show that using different algorithms or algorithm configurations, under this performance evaluation method, the algorithm performance can be more clearly reflected. Because the network based on the quality of service is the inevitable direction of the development of the Internet, and the routers in the network need to use the QoSR algorithm in order to provide QoS support, so the performance evaluation method of the QoSR algorithm will also be widely used in practice.
由此可见,本发明达到了预期目的。It can be seen that the present invention has achieved the intended purpose.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021599297A CN1195363C (en) | 2002-12-30 | 2002-12-30 | Method for evaluating route performances of quality of service based on linear structure |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB021599297A CN1195363C (en) | 2002-12-30 | 2002-12-30 | Method for evaluating route performances of quality of service based on linear structure |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1416242A CN1416242A (en) | 2003-05-07 |
| CN1195363C true CN1195363C (en) | 2005-03-30 |
Family
ID=4753359
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB021599297A Expired - Fee Related CN1195363C (en) | 2002-12-30 | 2002-12-30 | Method for evaluating route performances of quality of service based on linear structure |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1195363C (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7111188B2 (en) * | 2003-07-31 | 2006-09-19 | International Business Machines Corporation | Dynamically configurable fault tolerance in autonomic computing with multiple service points |
| AU2003255094A1 (en) * | 2003-08-06 | 2005-02-25 | Zte Corporation | A method of automatic protection switching |
| ITTO20060149A1 (en) * | 2006-03-01 | 2007-09-02 | Cisco Tech Inc | TECHNIQUE FOR THE OPTIMIZED FLOW OF DATA FLOWS ON AN IP DORSAL IN A COMPUTER NETWORK. |
| CN101321134B (en) * | 2008-07-21 | 2012-05-23 | 西安电子科技大学 | Service quality routing method under dynamic network condition |
| CN116155790A (en) * | 2021-11-17 | 2023-05-23 | 中兴通讯股份有限公司 | Routing method, routing device, storage medium and program product |
-
2002
- 2002-12-30 CN CNB021599297A patent/CN1195363C/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN1416242A (en) | 2003-05-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Jaeger et al. | QoS-based selection of services: The implementation of a genetic algorithm | |
| Yuan | Heuristic algorithms for multiconstrained quality-of-service routing | |
| Apers et al. | A unified framework of quantum walk search | |
| Dengiz et al. | Efficient optimization of all-terminal reliable networks, using an evolutionary approach | |
| KR100544008B1 (en) | Efficient Path Cost Derivation Method and Apparatus | |
| Andrews | Hardness of buy-at-bulk network design | |
| CN100542126C (en) | A Method of Optimal Route Selection | |
| US8289853B2 (en) | Method of accelerating the shortest path problem | |
| Lu et al. | A genetic algorithm for finding a path subject to two constraints | |
| Khadivi et al. | Multi-constraint QoS routing using a new single mixed metrics | |
| CN1240004C (en) | Route calculating apparatus wiht switchable route selective standard | |
| Brady et al. | Compact routing on power law graphs with additive stretch | |
| CN1195364C (en) | Adjustable heuristic routing method of quality of service based on width first search | |
| CN109951391B (en) | Network path rapid calculation method based on multi-QoS constraint | |
| CN1195363C (en) | Method for evaluating route performances of quality of service based on linear structure | |
| Thulasiraman et al. | Network science meets circuit theory: Resistance distance, Kirchhoff index, and Foster’s theorems with generalizations and unification | |
| CN113630171B (en) | A QoS-based method for reliability analysis of k-terminal of satellite network | |
| Zhang et al. | An efficient link closing strategy for improving traffic capacity on scale-free networks | |
| Song et al. | Approximation algorithms for multiconstrained quality-of-service routing | |
| Tang et al. | QoS information approximation for aggregated networks | |
| Lee et al. | On suitability of euclidean embedding for host-based network coordinate systems | |
| Hua et al. | Distributively computing random walk betweenness centrality in linear time | |
| CN1167229C (en) | A Method of Quality of Service Routing Precomputation Based on Linear Energy Function | |
| Premkumar et al. | Telecommunications network design—Comparison of alternative approaches | |
| Schott et al. | Generalized zeon algebras: theory and application to multi-constrained path problems |
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 | ||
| C19 | Lapse of patent right due to non-payment of the annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |