CN114124779B - Route evaluation method, device, server and storage medium - Google Patents

Route evaluation method, device, server and storage medium Download PDF

Info

Publication number
CN114124779B
CN114124779B CN202111305988.9A CN202111305988A CN114124779B CN 114124779 B CN114124779 B CN 114124779B CN 202111305988 A CN202111305988 A CN 202111305988A CN 114124779 B CN114124779 B CN 114124779B
Authority
CN
China
Prior art keywords
cost
route
evaluated
length
load balancing
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.)
Active
Application number
CN202111305988.9A
Other languages
Chinese (zh)
Other versions
CN114124779A (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.)
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
China Information Technology Designing and Consulting Institute Co Ltd
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 China United Network Communications Group Co Ltd, China Information Technology Designing and Consulting Institute Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111305988.9A priority Critical patent/CN114124779B/en
Publication of CN114124779A publication Critical patent/CN114124779A/en
Application granted granted Critical
Publication of CN114124779B publication Critical patent/CN114124779B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/14Routing performance; Theoretical aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J14/00Optical multiplex systems
    • H04J14/02Wavelength-division multiplex systems
    • H04J14/0227Operation, administration, maintenance or provisioning [OAMP] of WDM networks, e.g. media access, routing or wavelength allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种路由评价方法、装置、服务器及存储介质,用于对ROADM网络中业务的路由进行评价。包括:获取目标业务的待评价路由,并确定待评价路由的路由长度代价、节点数量代价、安全风险代价以及负载均衡代价;路由长度代价用于反映待评价路由在目标业务的可用路由中的相对路由长度;节点数量代价用于反映待评价路由在可用路由中的相对节点数量;安全风险代价用于反映待评价路由的可靠程度;负载均衡代价用于反映待评价路由的资源占用率;对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价。本发明实施例应用于路由评价系统。

Figure 202111305988

The invention discloses a routing evaluation method, device, server and storage medium, which are used for evaluating the routing of services in a ROADM network. Including: obtaining the route to be evaluated of the target service, and determining the route length cost, node number cost, security risk cost and load balancing cost of the route to be evaluated; the route length cost is used to reflect the relative position of the route to be evaluated among the available routes of the target service Route length; node number cost is used to reflect the relative number of nodes of the route to be evaluated in the available routes; security risk cost is used to reflect the reliability of the route to be evaluated; load balancing cost is used to reflect the resource occupancy rate of the route to be evaluated; The length cost, node number cost, security risk cost and load balancing cost are weighted to obtain the route cost of the target service carried by the route to be evaluated. The embodiment of the present invention is applied to a routing evaluation system.

Figure 202111305988

Description

路由评价方法、装置、服务器及存储介质Routing evaluation method, device, server and storage medium

技术领域technical field

本发明涉及通信技术领域,尤其涉及一种路由评价方法、装置、服务器及存储介质。The present invention relates to the field of communication technology, in particular to a route evaluation method, device, server and storage medium.

背景技术Background technique

采用可重构光分插复用器(reconfigurable optical add-drop multiplexer,ROADM)的网格化网络(下文简称ROADM网络)由于调度灵活、信息交换容量大、传输时延低等特点,应用日益广泛。The grid network using reconfigurable optical add-drop multiplexer (ROADM) (hereinafter referred to as ROADM network) is widely used due to its characteristics of flexible scheduling, large information exchange capacity, and low transmission delay. .

但是,现有的ROADM网络中业务的路由规划策略各不相同,同一业务在不同路由规划策略下可能得到不同的路由。因此,如何对ROADM网络中业务的路由进行评价,是目前亟需解决的问题。However, the routing planning strategies of services in the existing ROADM network are different, and the same service may obtain different routes under different routing planning strategies. Therefore, how to evaluate the routing of services in the ROADM network is an urgent problem to be solved at present.

发明内容Contents of the invention

本发明提供一种路由评价方法、装置、服务器及存储介质,用于对ROADM网络中业务的路由进行评价。The invention provides a routing evaluation method, device, server and storage medium, which are used for evaluating the routing of services in a ROADM network.

为了达到上述目的,本发明采用如下技术方案:In order to achieve the above object, the present invention adopts following technical scheme:

第一方面,提供了一种路由评价方法,包括:获取目标业务的待评价路由,并确定待评价路由的路由长度代价、节点数量代价、安全风险代价以及负载均衡代价;路由长度代价用于反映待评价路由在目标业务的可用路由中的相对路由长度;节点数量代价用于反映待评价路由在可用路由中的相对节点数量;安全风险代价用于反映待评价路由的可靠程度;负载均衡代价用于反映待评价路由的资源占用率;对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价。In the first aspect, a route evaluation method is provided, including: obtaining the route to be evaluated of the target service, and determining the route length cost, node number cost, security risk cost, and load balancing cost of the route to be evaluated; the route length cost is used to reflect The relative route length of the route to be evaluated in the available routes of the target service; the node number cost is used to reflect the relative number of nodes of the route to be evaluated in the available routes; the security risk cost is used to reflect the reliability of the route to be evaluated; the load balancing cost is used To reflect the resource occupancy rate of the route to be evaluated; the route length cost, the node number cost, the security risk cost and the load balancing cost are weighted to obtain the route cost of the target service carried by the route to be evaluated.

可选的,对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价,包括:确定目标业务的业务类型;根据业务类型,从预设的映射关系中查询路由长度代价的权重、节点数量代价的权重、安全风险代价的权重以及负载均衡代价的权重;映射关系包括路由长度代价、节点数量代价、安全风险代价以及负载均衡代价在不同业务类型中的权重;根据路由长度代价的权重、节点数量代价的权重、安全风险代价的权重以及负载均衡代价的权重,对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价。Optionally, weight the route length cost, node number cost, security risk cost, and load balancing cost to obtain the route cost of the target service carried by the route to be evaluated, including: determining the service type of the target service; Query the weight of the route length cost, the weight of the number of nodes, the weight of the security risk cost and the weight of the load balancing cost in the established mapping relationship; the mapping relationship includes the route length cost, node number cost, security risk cost and load balancing cost in different Weight in service type; according to the weight of the route length cost, the weight of the node quantity cost, the weight of the security risk cost and the weight of the load balance cost, the route length cost, the node quantity cost, the security risk cost and the load balance cost are weighted, In order to obtain the routing cost of the target service carried by the route to be evaluated.

可选的,上述第一方面的路由评价方法还包括:获取不同业务类型的评分矩阵;评分矩阵用于反映在不同业务类型中,路由长度代价、节点数量代价、安全风险代价以及负载均衡代价中任意两个代价之间的相对重要程度;针对任意一种业务类型,确定第一代价与所有第二代价之间的相对重要程度的几何平均数;第一代价以及第二代价均为路由长度代价、节点数量代价、安全风险代价以及负载均衡代价中的任意一个;分别对确定到的几何平均数进行归一化处理,以生成映射关系。Optionally, the routing evaluation method in the first aspect above also includes: obtaining scoring matrices of different business types; the scoring matrix is used to reflect in different business types, route length cost, node number cost, security risk cost and load balancing cost The relative importance between any two costs; for any type of business, determine the geometric mean of the relative importance between the first cost and all second costs; both the first cost and the second cost are route length costs Any one of , node number cost, security risk cost and load balancing cost; respectively normalize the determined geometric mean to generate a mapping relationship.

可选的,上述第一方面的路由评价方法还包括:根据评分矩阵的一致性指标CI以及预设的平均随机一致性指标RI,确定评分矩阵的一致性比率CR;CI为评分矩阵的最大特征值与评分矩阵阶数的差值,与评分矩阵阶数减一的比值;在CR小于预设值的情况下,确定第一代价与所有第二代价之间的相对重要程度的几何平均数。Optionally, the routing evaluation method in the first aspect above further includes: determining the consistency ratio CR of the scoring matrix according to the consistency index CI of the scoring matrix and the preset average random consistency index RI; CI is the maximum characteristic of the scoring matrix The difference between the value and the order of the scoring matrix, and the ratio of the order of the scoring matrix minus one; when the CR is less than the preset value, determine the geometric mean of the relative importance between the first cost and all second costs.

可选的,确定路由长度代价,包括:获取可用路由的数量以及每个可用路由的路由长度;根据可用路由的数量以及每个可用路由的路由长度,分别确定可用路由的路由长度平均值以及路由长度方差;将待评价路由的路由长度与路由长度平均值的差值,与路由长度方差的比值,确定为待评价路由的初始路由长度代价;对待评价路由的初始路由长度代价进行归一化处理,以得到待评价路由的路由长度代价。Optionally, determine the route length cost, including: obtaining the number of available routes and the route length of each available route; according to the number of available routes and the route length of each available route, respectively determine the average route length of the available routes and the route length of each available route Length variance; the ratio of the difference between the route length of the route to be evaluated and the average value of the route length to the variance of the route length is determined as the initial route length cost of the route to be evaluated; the initial route length cost of the route to be evaluated is normalized , to get the route length cost of the route to be evaluated.

可选的,确定节点数量代价,包括:获取可用路由的数量以及每个可用路由的节点数量;根据可用路由的数量以及每个可用路由的节点数量,分别确定可用路由的节点数量平均值以及节点数量方差;将待评价路由的节点数量与节点数量平均值的差值,与节点数量方差的比值,确定为待评价路由的初始节点数量代价;对待评价路由的初始节点数量代价进行归一化处理,以得到待评价路由的节点数量代价。Optionally, determine the cost of the number of nodes, including: obtaining the number of available routes and the number of nodes for each available route; according to the number of available routes and the number of nodes for each available route, determine the average number of nodes for available routes and the number of nodes Quantity variance; the ratio of the difference between the number of nodes to be evaluated and the average number of nodes to the variance of the number of nodes is determined as the initial node number cost of the route to be evaluated; the initial node number cost of the route to be evaluated is normalized , to obtain the node number cost of the route to be evaluated.

可选的,确定安全风险代价,包括:获取待评价路由中每个节点的可用度以及相邻节点之间路由的可用度;根据每个节点的可用度、相邻节点之间路由的可用度以及第一预设公式,确定安全风险代价。Optionally, determining the security risk cost includes: obtaining the availability of each node in the route to be evaluated and the availability of routes between adjacent nodes; according to the availability of each node, the availability of routes between adjacent nodes And the first preset formula is used to determine the safety risk cost.

可选的,确定负载均衡代价,包括:获取待评价路由中每个复用段的信道容量以及信道占用量;根据每个复用段的信道容量以及信道占用量,确定每个复用段的资源占用率;根据确定到的资源占用率以及第二预设公式,确定待评价路由的负载均衡代价。Optionally, determining the load balancing cost includes: obtaining the channel capacity and channel occupancy of each multiplex section in the route to be evaluated; determining the channel capacity and channel occupancy of each multiplex section according to the channel capacity and channel occupancy of each Resource occupancy rate: determine the load balancing cost of the route to be evaluated according to the determined resource occupancy rate and a second preset formula.

第二方面,提供了一种路由评价装置,包括获取单元、确定单元以及处理单元;获取单元,用于获取目标业务的待评价路由;确定单元,用于确定获取单元获取到的待评价路由的路由长度代价、节点数量代价、安全风险代价以及负载均衡代价;路由长度代价用于反映待评价路由在目标业务的可用路由中的相对路由长度;节点数量代价用于反映待评价路由在可用路由中的相对节点数量;安全风险代价用于反映待评价路由的可靠程度;负载均衡代价用于反映待评价路由的资源占用率;处理单元,用于对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价。In the second aspect, a route evaluation device is provided, including an acquisition unit, a determination unit, and a processing unit; the acquisition unit is used to acquire the route to be evaluated of the target service; the determination unit is used to determine the route to be evaluated acquired by the acquisition unit. Route length cost, node number cost, security risk cost and load balancing cost; route length cost is used to reflect the relative route length of the route to be evaluated in the available routes of the target business; node number cost is used to reflect the route to be evaluated in the available routes The relative number of nodes; the security risk cost is used to reflect the reliability of the route to be evaluated; the load balancing cost is used to reflect the resource occupancy rate of the route to be evaluated; the processing unit is used to evaluate the route length cost, node number cost, security risk cost and The load balancing cost is weighted to obtain the routing cost of the target service carried by the route to be evaluated.

可选的,处理单元,具体用于:确定目标业务的业务类型;根据业务类型,从预设的映射关系中查询路由长度代价的权重、节点数量代价的权重、安全风险代价的权重以及负载均衡代价的权重;映射关系包括路由长度代价、节点数量代价、安全风险代价以及负载均衡代价在不同业务类型中的权重;根据路由长度代价的权重、节点数量代价的权重、安全风险代价的权重以及负载均衡代价的权重,对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价。Optionally, the processing unit is specifically used to: determine the business type of the target business; query the weight of the route length cost, the weight of the node number cost, the weight of the security risk cost and load balancing from the preset mapping relationship according to the business type The weight of the cost; the mapping relationship includes the weight of the route length cost, node number cost, security risk cost and load balancing cost in different business types; according to the weight of the route length cost, the weight of the node number cost, the weight of the security risk cost and the load The weight of the balanced cost is to weight the route length cost, node number cost, security risk cost, and load balancing cost to obtain the route cost of the target service carried by the route to be evaluated.

可选的,获取单元,还用于获取不同业务类型的评分矩阵;评分矩阵用于反映在不同业务类型中,路由长度代价、节点数量代价、安全风险代价以及负载均衡代价中任意两个代价之间的相对重要程度;确定单元,还用于针对任意一种业务类型,确定第一代价与所有第二代价之间的相对重要程度的几何平均数;第一代价以及第二代价均为路由长度代价、节点数量代价、安全风险代价以及负载均衡代价中的任意一个;处理单元,还用于分别对确定单元确定到的几何平均数进行归一化处理,以生成映射关系。Optionally, the obtaining unit is also used to obtain scoring matrices of different business types; the scoring matrix is used to reflect the difference between any two costs in route length cost, node number cost, security risk cost and load balancing cost in different business types. The relative importance between; the determination unit is also used to determine the geometric mean of the relative importance between the first cost and all second costs for any type of business; the first cost and the second cost are both route lengths Any one of cost, node number cost, security risk cost, and load balancing cost; the processing unit is also used to normalize the geometric mean determined by the determination unit to generate a mapping relationship.

可选的,确定单元,还用于根据评分矩阵的一致性指标CI以及预设的平均随机一致性指标RI,确定评分矩阵的一致性比率CR;CI为评分矩阵的最大特征值与评分矩阵阶数的差值,与评分矩阵阶数减一的比值;在CR小于预设值的情况下,确定第一代价与所有第二代价之间的相对重要程度的几何平均数。Optionally, the determination unit is also used to determine the consistency ratio CR of the scoring matrix according to the consistency index CI of the scoring matrix and the preset average random consistency index RI; CI is the maximum eigenvalue of the scoring matrix and the order of the scoring matrix The difference between the number and the ratio of the rating matrix order minus one; when the CR is less than the preset value, determine the geometric mean of the relative importance between the first cost and all the second costs.

可选的,确定单元,具体用于:获取可用路由的数量以及每个可用路由的路由长度;根据可用路由的数量以及每个可用路由的路由长度,分别确定可用路由的路由长度平均值以及路由长度方差;将待评价路由的路由长度与路由长度平均值的差值,与路由长度方差的比值,确定为待评价路由的初始路由长度代价;对待评价路由的初始路由长度代价进行归一化处理,以得到待评价路由的路由长度代价。Optionally, the determination unit is specifically used to: obtain the number of available routes and the route length of each available route; determine the average route length of the available routes and the route length of each available route according to the number of available routes and the route length of each available route Length variance; the ratio of the difference between the route length of the route to be evaluated and the average value of the route length to the variance of the route length is determined as the initial route length cost of the route to be evaluated; the initial route length cost of the route to be evaluated is normalized , to get the route length cost of the route to be evaluated.

可选的,确定单元,具体用于:获取可用路由的数量以及每个可用路由的节点数量;根据可用路由的数量以及每个可用路由的节点数量,分别确定可用路由的节点数量平均值以及节点数量方差;将待评价路由的节点数量与节点数量平均值的差值,与节点数量方差的比值,确定为待评价路由的初始节点数量代价;对待评价路由的初始节点数量代价进行归一化处理,以得到待评价路由的节点数量代价。Optionally, determine the unit, which is specifically used to: obtain the number of available routes and the number of nodes for each available route; determine the average number of nodes for available routes and the number of nodes for each available route according to the number of available routes and the number of nodes for each available route. Quantity variance; the ratio of the difference between the number of nodes to be evaluated and the average number of nodes to the variance of the number of nodes is determined as the initial node number cost of the route to be evaluated; the initial node number cost of the route to be evaluated is normalized , to obtain the node number cost of the route to be evaluated.

可选的,确定单元,具体用于:获取待评价路由中每个节点的可用度以及相邻节点之间路由的可用度;根据每个节点的可用度、相邻节点之间路由的可用度以及第一预设公式,确定安全风险代价。Optionally, the determination unit is specifically used to: obtain the availability of each node in the route to be evaluated and the availability of routes between adjacent nodes; according to the availability of each node, the availability of routes between adjacent nodes And the first preset formula is used to determine the safety risk cost.

可选的,确定单元,具体用于:获取待评价路由中每个复用段的信道容量以及信道占用量;根据每个复用段的信道容量以及信道占用量,确定每个复用段的资源占用率;根据确定到的资源占用率以及第二预设公式,确定待评价路由的负载均衡代价。Optionally, the determination unit is specifically used to: obtain the channel capacity and channel occupancy of each multiplex section in the route to be evaluated; determine the channel capacity and channel occupancy of each multiplex section according to the channel capacity and channel occupancy of each multiplex section Resource occupancy rate: determine the load balancing cost of the route to be evaluated according to the determined resource occupancy rate and a second preset formula.

第三方面,提供了一种路由评价装置,包括:处理器以及存储器;其中,存储器用于存储一个或多个程序,一个或多个程序包括计算机执行指令,当路由评价装置运行时,处理器执行存储器存储的计算机执行指令,以使路由评价装置执行第一方面的路由评价方法。In a third aspect, a route evaluation device is provided, including: a processor and a memory; wherein the memory is used to store one or more programs, one or more programs include computer-executable instructions, and when the route evaluation device is running, the processor Executing the computer-executable instructions stored in the memory, so that the route evaluation device executes the route evaluation method of the first aspect.

第四方面,提供了一种服务器,包括:处理器以及存储器;其中,存储器用于存储一个或多个程序,一个或多个程序包括计算机执行指令,当服务器运行时,处理器执行存储器存储的计算机执行指令,以使服务器执行第一方面的路由评价方法。In a fourth aspect, a server is provided, including: a processor and a memory; wherein, the memory is used to store one or more programs, and the one or more programs include computer-executable instructions, and when the server is running, the processor executes the program stored in the memory. The computer executes instructions, so that the server executes the route evaluation method of the first aspect.

第五方面,提供了一种计算机可读存储介质,计算机可读存储介质中存储有指令,当指令在路由评价装置上运行时,使得路由评价装置执行第一方面的路由评价方法。In a fifth aspect, a computer-readable storage medium is provided. Instructions are stored in the computer-readable storage medium. When the instructions are run on the route evaluation device, the route evaluation device is made to execute the route evaluation method of the first aspect.

本发明提供的技术方案至少带来以下有益效果:路由评价装置在获取目标业务的待评价路由后,从影响ROADM网络中业务路由的四个不同影响因素出发,确定四个影响因素的量化结果,即待评价路由的路由长度代价、节点数量代价、安全风险代价以及负载均衡代价;路由长度代价用于反映待评价路由在目标业务的可用路由中的相对路由长度;节点数量代价用于反映待评价路由在可用路由中的相对节点数量;安全风险代价用于反映待评价路由的可靠程度;负载均衡代价用于反映待评价路由的资源占用率。然后路由评价装置对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价,通过路由代价的高低对目标业务的待评价路由进行评价。The technical solution provided by the present invention brings at least the following beneficial effects: after obtaining the route to be evaluated of the target service, the route evaluation device determines the quantitative results of the four influencing factors from four different influencing factors affecting the service routing in the ROADM network, That is, the route length cost, node number cost, security risk cost and load balancing cost of the route to be evaluated; the route length cost is used to reflect the relative route length of the route to be evaluated in the available routes of the target service; the node number cost is used to reflect the The relative number of nodes in the available routes; the security risk cost is used to reflect the reliability of the route to be evaluated; the load balancing cost is used to reflect the resource occupancy rate of the route to be evaluated. Then the route evaluation device weights the route length cost, the node number cost, the security risk cost and the load balancing cost to obtain the route cost of the target service carried by the route to be evaluated, and evaluates the route to be evaluated of the target service according to the level of the route cost.

附图说明Description of drawings

图1为本发明的实施例提供的一种路由评价系统结构示意图;Fig. 1 is a schematic structural diagram of a routing evaluation system provided by an embodiment of the present invention;

图2为本发明的实施例提供的一种路由评价方法流程示意图一;FIG. 2 is a first schematic flow diagram of a routing evaluation method provided by an embodiment of the present invention;

图3为本发明的实施例提供的一种路由评价方法流程示意图二;FIG. 3 is a second schematic flow diagram of a routing evaluation method provided by an embodiment of the present invention;

图4为本发明的实施例提供的一种路由评价方法流程示意图三;FIG. 4 is a third schematic flow diagram of a routing evaluation method provided by an embodiment of the present invention;

图5为本发明的实施例提供的一种路由评价方法流程示意图四;FIG. 5 is a fourth schematic flow diagram of a routing evaluation method provided by an embodiment of the present invention;

图6为本发明的实施例提供的一种路由评价方法流程示意图五;FIG. 6 is a schematic flow diagram five of a routing evaluation method provided by an embodiment of the present invention;

图7为本发明的实施例提供的一种路由评价方法流程示意图六;FIG. 7 is a sixth schematic flow diagram of a routing evaluation method provided by an embodiment of the present invention;

图8为本发明的实施例提供的一种路由评价装置的结构示意图一;FIG. 8 is a structural schematic diagram 1 of a routing evaluation device provided by an embodiment of the present invention;

图9为本发明的实施例提供的一种路由评价装置的结构示意图二;FIG. 9 is a schematic structural diagram II of a routing evaluation device provided by an embodiment of the present invention;

图10为本发明的实施例提供的一种路由评价装置的结构示意图三。FIG. 10 is a schematic structural diagram III of a routing evaluation device provided by an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.

在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present invention shall not be construed as being more preferred or more advantageous than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.

在本发明的描述中,除非另有说明,“/”表示“或”的意思,例如,A/B可以表示A或B。本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。此外,“至少一个”“多个”是指两个或两个以上。“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In the description of the present invention, unless otherwise specified, "/" means "or", for example, A/B may mean A or B. The "and/or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone These three situations. In addition, "at least one" and "plurality" mean two or more. Words such as "first" and "second" do not limit the number and order of execution, and words such as "first" and "second" do not necessarily limit the difference.

本发明实施例提供的路由评价方法可以适用于路由评价系统。图1示出了该路由评价系统的一种结构示意图。如图1所示,路由评价系统10包括路由评价装置101以及服务器102。路由评价装置101与服务器102连接。路由评价装置101与服务器102之间可以采用有线方式连接,也可以采用无线方式连接,本发明实施例对此不作限定。The route evaluation method provided by the embodiment of the present invention can be applied to a route evaluation system. Fig. 1 shows a schematic structural diagram of the routing evaluation system. As shown in FIG. 1 , the route evaluation system 10 includes a route evaluation device 101 and a server 102 . The route evaluation device 101 is connected to a server 102 . The route evaluation device 101 and the server 102 may be connected in a wired manner or in a wireless manner, which is not limited in this embodiment of the present invention.

路由评价装置101用于从服务器102中获取目标业务的待评价路由,并确定待评价路由的路由长度代价、节点数量代价、安全风险代价以及负载均衡代价。The route evaluation device 101 is used to obtain the route to be evaluated of the target service from the server 102, and determine the route length cost, node number cost, security risk cost and load balancing cost of the route to be evaluated.

路由评价装置101还用于对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价。The route evaluation device 101 is further configured to weight the route length cost, node number cost, security risk cost and load balancing cost to obtain the route cost of the target service carried by the route to be evaluated.

服务器102可以为具有网络管理功能的设备,例如网络管理设备。The server 102 may be a device having a network management function, such as a network management device.

服务器102用于存储目标业务的待评价路由信息。路由信息包括待评价路由的路由长度、节点数量、每个节点的可用度、相邻节点之间路由的可用度、每个复用段的信道容量以及信道占用量。The server 102 is used for storing the routing information of the target service to be evaluated. Routing information includes the route length of the route to be evaluated, the number of nodes, the availability of each node, the availability of routes between adjacent nodes, the channel capacity of each multiplex section, and the channel occupancy.

服务器102还用于存储目标业务的可用路由信息。可用路由信息包括可用路由的路由长度、节点数量、每个节点的可用度、相邻节点之间路由的可用度、每个复用段的信道容量以及信道占用量。The server 102 is also used for storing available routing information of target services. The available route information includes the route length of the available route, the number of nodes, the availability of each node, the availability of routes between adjacent nodes, the channel capacity of each multiplex section, and the channel occupancy.

在不同的应用场景中,路由评价装置101和服务器102可以为相互独立的设备,也可以集成于同一设备中,本发明实施例对此不作具体限定。In different application scenarios, the route evaluation apparatus 101 and the server 102 may be independent devices, or may be integrated into the same device, which is not specifically limited in this embodiment of the present invention.

路由评价装置101和服务器102集成于同一设备时,路由评价装置101和服务器102之间的通信方式为该设备内部模块之间的通信。这种情况下,二者之间的通信流程与“路由评价装置101和服务器102之间相互独立的情况下,二者之间的通信流程”相同。When the route evaluation device 101 and the server 102 are integrated in the same device, the communication mode between the route evaluation device 101 and the server 102 is the communication between the internal modules of the device. In this case, the communication flow between the two is the same as "the communication flow between the route evaluation device 101 and the server 102 when they are independent from each other".

在本发明实施例提供的以下实施例中,本公开以路由评价装置101和服务器102相互独立设置为例进行说明。In the following embodiments provided by the embodiments of the present invention, the present disclosure takes the route evaluation apparatus 101 and the server 102 as an example to be independently configured for illustration.

图2是根据一些示例性实施例示出的一种路由评价方法的流程示意图。在一些实施例中,上述路由评价方法可以应用到如图1所示的路由评价装置或者服务器或者其他类似设备。Fig. 2 is a schematic flowchart of a route evaluation method according to some exemplary embodiments. In some embodiments, the above route evaluation method may be applied to the route evaluation device or server or other similar devices as shown in FIG. 1 .

如图2所示,本发明实施例提供的路由评价方法,包括下述S201-S203。As shown in FIG. 2, the route evaluation method provided by the embodiment of the present invention includes the following S201-S203.

S201、路由评价装置获取目标业务的待评价路由。S201. The route evaluation device acquires a route to be evaluated of a target service.

作为一种可能的实现方式,路由评价装置从服务器中获取目标业务的待评价路由。As a possible implementation manner, the route evaluation device obtains the route to be evaluated of the target service from the server.

需要说明的,同一目标业务可能存在多个不同的可用路由,在实际应用中,路由评价装置根据实际需求,从服务器中获取一条待评价路由,进行评价。It should be noted that there may be multiple different available routes for the same target service. In practical applications, the route evaluation device obtains a route to be evaluated from the server according to actual needs, and performs evaluation.

示例性的,业务A存在两条不同的可用路由,分别为路由1、路由2;若需要对业务A的路由1进行评价,则从服务器中获取业务A的路由1。Exemplarily, there are two different available routes for service A, namely route 1 and route 2; if route 1 of service A needs to be evaluated, route 1 of service A is obtained from the server.

S202、路由评价装置确定待评价路由的路由长度代价、节点数量代价、安全风险代价以及负载均衡代价。S202. The route evaluation device determines the route length cost, node number cost, security risk cost and load balancing cost of the route to be evaluated.

其中,路由长度代价用于反映待评价路由在目标业务的可用路由中的相对路由长度;节点数量代价用于反映待评价路由在可用路由中的相对节点数量;安全风险代价用于反映待评价路由的可靠程度;负载均衡代价用于反映待评价路由的资源占用率。Among them, the route length cost is used to reflect the relative route length of the route to be evaluated in the available routes of the target service; the node number cost is used to reflect the relative number of nodes of the route to be evaluated in the available routes; the security risk cost is used to reflect the relative length of the route to be evaluated The degree of reliability; the load balancing cost is used to reflect the resource occupancy rate of the route to be evaluated.

作为一种可能的实现方式,路由评价装置根据预设的计算公式计算待评价路由的路由长度代价、节点数量代价、安全风险代价以及负载均衡代价。As a possible implementation, the route evaluation device calculates the route length cost, node number cost, security risk cost and load balancing cost of the route to be evaluated according to a preset calculation formula.

需要说明的,预设的计算公式为运维人员预先在路由评价装置中设置的。It should be noted that the preset calculation formula is pre-set in the routing evaluation device by the operation and maintenance personnel.

此步骤的具体实施方式,可以参照本发明实施例的后续描述,此处不再进行赘述。For the specific implementation manner of this step, reference may be made to the subsequent description of the embodiments of the present invention, and details are not repeated here.

S203、路由评价装置对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价。S203. The route evaluation device weights the route length cost, node number cost, security risk cost, and load balancing cost to obtain the route cost of the target service carried by the route to be evaluated.

其中,路由代价用于提供评价依据。Among them, the routing cost is used to provide evaluation basis.

作为一种可能的实现方式,路由评价装置根据目标业务的业务类型,从预设的映射关系中查询路由长度代价的权重、节点数量代价的权重、安全风险代价的权重以及负载均衡代价的权重,根据路由长度代价的权重、节点数量代价的权重、安全风险代价的权重以及负载均衡代价的权重,对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价。As a possible implementation, the routing evaluation device queries the weight of the route length cost, the weight of the node number cost, the weight of the security risk cost and the weight of the load balancing cost from the preset mapping relationship according to the business type of the target business, According to the weight of the route length cost, the weight of the node quantity cost, the weight of the security risk cost and the weight of the load balance cost, weight the route length cost, the node quantity cost, the security risk cost and the load balance cost to obtain the route load to be evaluated Routing cost of the target service.

需要说明的,预设的映射关系可以为运维人员预先在路由评价装置中设置的,也可以由路由评价装置生成,此步骤对此不作限定。It should be noted that the preset mapping relationship may be pre-set by the operation and maintenance personnel in the routing evaluation device, or may be generated by the routing evaluation device, which is not limited in this step.

示例性的,若路由长度代价的权重为A、节点数量代价的权重为B、安全风险代价的权重为C、负载均衡代价的权重为D,则待评价路由的路由代价=A*路由长度代价+B*节点数量代价+C*安全风险代价+D*路由长度代价。Exemplarily, if the weight of the route length cost is A, the weight of the node number cost is B, the weight of the security risk cost is C, and the weight of the load balancing cost is D, then the route cost of the route to be evaluated = A*route length cost +B*Node number cost+C*Security risk cost+D*Route length cost.

可以理解的,路由代价反映了待评价路由完成目标业务所消耗的代价,路由代价越小,则说明待评价路由完成目标业务所消耗的代价越小,该路由越优越。It can be understood that the route cost reflects the cost consumed by the route to be evaluated to complete the target service. The smaller the route cost, the smaller the cost consumed by the route to be evaluated to complete the target service, and the superior route is.

此步骤的具体实施方式,可以参照本发明实施例的后续描述,此处不再进行赘述。For the specific implementation manner of this step, reference may be made to the subsequent description of the embodiments of the present invention, and details are not repeated here.

在一种设计中,为了得到待评价路由承载目标业务的路由代价,如图3所示,本发明实施例提供的上述S203,具体可以包括下述S2031-S2033。In one design, in order to obtain the routing cost of the target service carried by the route to be evaluated, as shown in FIG. 3 , the above S203 provided by the embodiment of the present invention may specifically include the following S2031-S2033.

S2031、路由评价装置确定目标业务的业务类型。S2031. The routing evaluation device determines the service type of the target service.

作为一种可能的实现方式,路由评价装置根据目标业务的描述信息确定目标业务的业务类型。As a possible implementation manner, the routing evaluation device determines the service type of the target service according to the description information of the target service.

需要说明的,业务类型包括时延敏感类业务、投资敏感类业务、安全敏感类业务以及常规业务。It should be noted that the service types include delay-sensitive services, investment-sensitive services, security-sensitive services, and regular services.

在实际应用中,每个业务都有对应的描述信息,描述信息用于反映一个业务的传输要求,例如,某一银行业务对传输的安全性要求较高,该业务的描述信息为安全敏感,则路由评价装置将该银行业务的业务类型确定为安全敏感类业务。In practical applications, each business has corresponding description information, and the description information is used to reflect the transmission requirements of a business. For example, a banking business has high requirements for transmission security, and the description information of this business is security-sensitive. Then the routing evaluation device determines the business type of the banking business as a security-sensitive business.

S2032、路由评价装置根据业务类型,从预设的映射关系中查询路由长度代价的权重、节点数量代价的权重、安全风险代价的权重以及负载均衡代价的权重。S2032. The route evaluation device queries the weight of the route length cost, the weight of the node quantity cost, the weight of the security risk cost and the weight of the load balancing cost from the preset mapping relationship according to the service type.

其中,映射关系包括路由长度代价、节点数量代价、安全风险代价以及负载均衡代价在不同业务类型中的权重。Among them, the mapping relationship includes the weight of route length cost, node number cost, security risk cost and load balancing cost in different business types.

示例性的,如表1所示,表1为一种映射关系表,示出了路由长度代价、节点数量代价、安全风险代价以及负载均衡代价在不同业务类型中的具体权重。Exemplarily, as shown in Table 1, Table 1 is a mapping relationship table showing the specific weights of route length cost, node number cost, security risk cost and load balancing cost in different service types.

表1Table 1

Figure BDA0003340130890000081
Figure BDA0003340130890000081

S2033、路由评价装置根据路由长度代价的权重、节点数量代价的权重、安全风险代价的权重以及负载均衡代价的权重,对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价。S2033. The route evaluation device weights the route length cost, the node quantity cost, the security risk cost, and the load balancing cost according to the weight of the route length cost, the weight of the node quantity cost, the weight of the security risk cost, and the weight of the load balancing cost, so as to Obtain the routing cost of the target service carried by the route to be evaluated.

在一种设计中,为了能够生成映射关系,如图4所示,本发明实施例提供的路由评价方法还包括下述S204-S206。In one design, in order to generate a mapping relationship, as shown in FIG. 4 , the route evaluation method provided by the embodiment of the present invention further includes the following S204-S206.

S204、路由评价装置获取不同业务类型的评分矩阵。S204. The routing evaluation device acquires scoring matrices of different service types.

其中,评分矩阵用于反映在不同业务类型中,路由长度代价、节点数量代价、安全风险代价以及负载均衡代价中任意两个代价之间的相对重要程度;一个评分矩阵由4*4个元素构成。Among them, the scoring matrix is used to reflect the relative importance between any two costs in route length cost, node number cost, security risk cost and load balancing cost in different business types; a scoring matrix consists of 4*4 elements .

作为一种可能实现的方式,路由评价装置从服务器中获取不同业务类型的评分矩阵。As a possible implementation manner, the routing evaluation device acquires scoring matrices of different service types from the server.

需要说明的,不同业务类型的评分矩阵为运维人员针对不同业务类型的特点,对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价中任意两个代价之间的相对重要程度进行打分得到的。之后,运维人员将不同业务类型的评分矩阵存储到服务器中。It should be noted that the scoring matrix for different business types is for operation and maintenance personnel to score the relative importance of any two costs in route length cost, node number cost, security risk cost, and load balancing cost according to the characteristics of different business types owned. Afterwards, the operation and maintenance personnel store the scoring matrix of different business types in the server.

示例性的,如表2,表2示出了一种业务类型的评分矩阵,其中,aij为评分矩阵中的任意一个元素,表示该业务类型中代价i与代价j比较后的得分,i与j均为小于或者等于4的正整数。Exemplarily, as shown in Table 2, Table 2 shows a scoring matrix of a business type, wherein a ij is any element in the scoring matrix, indicating the score after comparing the cost i with the cost j in the business type, i and j are both positive integers less than or equal to 4.

表2Table 2

Figure BDA0003340130890000091
Figure BDA0003340130890000091

在实际应用中,运维人员可以参照九级标度法的打分依据以及不同业务类型的特点,对aij进行赋值。如表3所示,为九级标度法的打分依据。In practical applications, operation and maintenance personnel can assign values to a ij by referring to the scoring basis of the nine-level scale method and the characteristics of different business types. As shown in Table 3, it is the scoring basis of the nine-level scale method.

表3table 3

Figure BDA0003340130890000101
Figure BDA0003340130890000101

S205、针对任意一种业务类型,路由评价装置确定第一代价与所有第二代价之间的相对重要程度的几何平均数。S205. For any type of service, the routing evaluation device determines a geometric mean of relative importance degrees between the first cost and all second costs.

其中,第一代价以及第二代价均为路由长度代价、节点数量代价、安全风险代价以及负载均衡代价中的任意一个。Wherein, the first cost and the second cost are any one of route length cost, node quantity cost, security risk cost and load balancing cost.

作为一种可能实现的方式,路由评价装置根据预设的几何平均数公式计算第一代价与所有第二代价之间的相对重要程度的几何平均数。As a possible implementation manner, the routing evaluation device calculates the geometric mean of the relative importance degrees between the first cost and all the second costs according to a preset geometric mean formula.

需要说明的,预设的几何平均数公式为运维人员预先在路由评价装置中设置的。It should be noted that the preset geometric mean formula is pre-set in the routing evaluation device by the operation and maintenance personnel.

预设的几何平均数公式为:

Figure BDA0003340130890000102
其中,wi用于表示代价i与所有第二代价之间的相对重要程度的几何平均数,aij表示代价i与所有第二代价之间的相对重要程度(对应评分矩阵中ai1、ai2、ai3、ai4),i与j均为小于或者等于4的正整数。The preset geometric mean formula is:
Figure BDA0003340130890000102
Among them, w i is used to represent the geometric mean of the relative importance between cost i and all second costs, and a ij represents the relative importance between cost i and all second costs (corresponding to a i1 , a i2 , a i3 , a i4 ), i and j are both positive integers less than or equal to 4.

S206、路由评价装置分别对确定到的几何平均数进行归一化处理,以生成映射关系。S206. The routing evaluation device performs normalization processing on the determined geometric mean, so as to generate a mapping relationship.

作为一种可能实现的方式,路由评价装置根据预设的归一化公式分别对确定到的几何平均数进行归一化处理,得到不同业务类型中路由长度代价的权重、节点数量代价的权重、安全风险代价的权重以及负载均衡代价的权重。As a possible implementation, the routing evaluation device performs normalization processing on the determined geometric mean according to the preset normalization formula to obtain the weight of the route length cost, the weight of the node number cost, and the weight of the node number cost in different service types. The weight of the security risk cost and the weight of the load balancing cost.

需要说明的,预设的归一化公式为运维人员预先在路由评价装置中设置的。It should be noted that the preset normalization formula is pre-set by the operation and maintenance personnel in the routing evaluation device.

预设的归一化公式为:

Figure BDA0003340130890000111
其中,/>
Figure BDA0003340130890000112
表示wi归一化处理后的结果,i为小于或者等于4的正整数。The default normalization formula is:
Figure BDA0003340130890000111
where, />
Figure BDA0003340130890000112
Indicates the normalized result of w i , where i is a positive integer less than or equal to 4.

在一种设计中,为了能够确定第一代价与所有第二代价之间的相对重要程度的几何平均数,本发明实施例提供的路由评价方法还包括下述S207。In one design, in order to determine the geometric mean of relative importance between the first cost and all second costs, the route evaluation method provided in the embodiment of the present invention further includes the following S207.

S207、路由评价装置根据评分矩阵的一致性指标(consistency index,CI)以及预设的平均随机一致性指标(random index,RI),确定评分矩阵的一致性比率(consistencyrate,CR)。S207. The routing evaluation device determines a consistency rate (CR) of the scoring matrix according to a consistency index (consistency index, CI) of the scoring matrix and a preset average random consistency index (random index, RI).

其中,CI为评分矩阵的最大特征值与评分矩阵阶数的差值,与评分矩阵阶数减一的比值。Among them, CI is the difference between the largest eigenvalue of the scoring matrix and the order of the scoring matrix, and the ratio of the order of the scoring matrix minus one.

作为一种可能的实现方式,路由评价装置将CI与RI的比值,确定为CR。As a possible implementation manner, the route evaluation device determines the ratio of CI to RI as CR.

需要说明的,RI为运维人员根据评分矩阵的阶数预先设置的,并存储在路由评价装置中。It should be noted that the RI is preset by the operation and maintenance personnel according to the order of the scoring matrix, and is stored in the routing evaluation device.

示例性的,

Figure BDA0003340130890000113
其中,λmax为评分矩阵的最大特征值,n为评分矩阵阶数;
Figure BDA0003340130890000114
Exemplary,
Figure BDA0003340130890000113
Among them, λ max is the maximum eigenvalue of the scoring matrix, and n is the order of the scoring matrix;
Figure BDA0003340130890000114

在实际应用中,RI与评分矩阵阶数之间的对应关系可以参照表4。In practical applications, the correspondence between RI and the order of the scoring matrix can refer to Table 4.

表4Table 4

Figure BDA0003340130890000115
Figure BDA0003340130890000115

在一种设计中,本发明实施例提供的上述S205,具体可以包括下述S2051-S2052。In one design, the above S205 provided in the embodiment of the present invention may specifically include the following S2051-S2052.

S2051、路由评价装置判断CR是否小于预设值。S2051. The routing evaluation device judges whether the CR is smaller than a preset value.

需要说明的,预设值为运维人员预先在路由评价装置中设置,例如,预设值可以为0.1。It should be noted that the preset value is pre-set in the routing evaluation device by the operation and maintenance personnel, for example, the preset value may be 0.1.

S2052、在CR小于预设值的情况下,路由评价装置确定第一代价与所有第二代价之间的相对重要程度的几何平均数。S2052. In the case that the CR is smaller than the preset value, the routing evaluation device determines a geometric mean of relative importance degrees between the first cost and all second costs.

可以理解的,在CR小于预设值的情况下,证明评分矩阵中各元素的一致性较高,该评分矩阵值得依赖。因此,路由评价装置继续确定第一代价与所有第二代价之间的相对重要程度的几何平均数。It can be understood that when the CR is less than the preset value, it proves that the consistency of each element in the scoring matrix is high, and the scoring matrix is worth relying on. Thus, the route evaluation means proceed to determine the geometric mean of the relative importance between the first cost and all second costs.

在一种设计中,为了能够确定路由长度代价,如图5所示,本发明实施例提供的上述S202,具体可以包括下述S2021-S2024。In one design, in order to determine the route length cost, as shown in FIG. 5 , the above S202 provided by the embodiment of the present invention may specifically include the following S2021-S2024.

S2021、路由评价装置获取可用路由的数量以及每个可用路由的路由长度。S2021. The route evaluation device obtains the number of available routes and the route length of each available route.

作为一种可能实现的方式,路由评价装置从服务器中获取可用路由的数量以及每个可用路由的路由长度。As a possible implementation manner, the route evaluation device acquires the number of available routes and the route length of each available route from the server.

S2022、路由评价装置根据可用路由的数量以及每个可用路由的路由长度,分别确定可用路由的路由长度平均值以及路由长度方差。S2022. The route evaluation device respectively determines the average route length and the route length variance of the available routes according to the number of available routes and the route length of each available route.

路由长度平均值

Figure BDA0003340130890000121
其中,n表示可用路由的数量,x表示任意一个可用路由的路由长度。average route length
Figure BDA0003340130890000121
Wherein, n represents the number of available routes, and x represents the route length of any available route.

路由长度方差

Figure BDA0003340130890000122
route length variance
Figure BDA0003340130890000122

S2023、路由评价装置将待评价路由的路由长度与路由长度平均值的差值,与路由长度方差的比值,确定为待评价路由的初始路由长度代价。S2023. The route evaluation device determines the ratio of the difference between the route length of the route to be evaluated and the average route length to the variance of the route length as the initial route length cost of the route to be evaluated.

待评价路由的初始路由长度代价

Figure BDA0003340130890000123
其中,xi为待评价路由的光纤长度。The initial route length cost of the route to be evaluated
Figure BDA0003340130890000123
Among them, x i is the fiber length of the route to be evaluated.

S2024、路由评价装置对待评价路由的初始路由长度代价进行归一化处理,以得到待评价路由的路由长度代价。S2024. The route evaluation device performs normalization processing on the initial route length cost of the route to be evaluated to obtain the route length cost of the route to be evaluated.

作为一种可能实现的方式,路由评价装置根据预设的代价归一化公式,对待评价路由的初始路由长度代价进行归一化处理,得到路由长度代价。As a possible implementation, the route evaluation device performs normalization processing on the initial route length cost of the route to be evaluated according to a preset cost normalization formula to obtain the route length cost.

需要说明的,预设的代价归一化公式为运维人员预先在路由评价装置中设置的。It should be noted that the preset cost normalization formula is pre-set in the routing evaluation device by the operation and maintenance personnel.

预设的代价归一化公式为:

Figure BDA0003340130890000124
其中,若x′max表示可用路由中路由长度的最大值,x′min表示可以路由中路由长度的最小值,The preset cost normalization formula is:
Figure BDA0003340130890000124
Among them, if x′max represents the maximum value of the route length in the available routes, and x′min represents the minimum value of the route length in the available routes,

x′x表示待评价路由的初始路由长度代价,则x″i表示归一化后的路由长度代价。x′ x represents the initial route length cost of the route to be evaluated, and x″ i represents the normalized route length cost.

类似的,节点数量代价的确定过程与路由长度代价相同,具体参考上述S2021-S2024,将可用路由的路由长度替换为可用路由的节点数量即可,本发明实施不再赘述。Similarly, the determination process of the cost of the number of nodes is the same as the cost of the route length. For details, refer to the above S2021-S2024, just replace the route length of the available route with the number of nodes of the available route, and the implementation of the present invention will not be repeated.

在一种设计中,为了能够确定安全风险代价,如图6所示,本发明实施例提供的上述S202,具体可以包括下述S2025-S2026。In one design, in order to determine the security risk cost, as shown in FIG. 6 , the above S202 provided by the embodiment of the present invention may specifically include the following S2025-S2026.

S2025、路由评价装置获取待评价路由中每个节点的可用度以及相邻节点之间路由的可用度。S2025. The route evaluation device acquires the availability of each node in the route to be evaluated and the availability of routes between adjacent nodes.

作为一种可能实现的方式,路由评价装置从服务器中获取待评价路由中每个节点的可用度以及相邻节点之间路由的可用度。As a possible implementation manner, the route evaluation device acquires the availability of each node in the route to be evaluated and the availability of routes between adjacent nodes from the server.

S2026、路由评价装置根据每个节点的可用度、相邻节点之间路由的可用度以及第一预设公式,确定安全风险代价。S2026. The routing evaluation device determines the security risk cost according to the availability of each node, the availability of routes between adjacent nodes, and a first preset formula.

需要说明的,第一预设公式为运维人员预先在路由评价装置中设置的。It should be noted that the first preset formula is pre-set in the routing evaluation device by the operation and maintenance personnel.

第一预设公式为y=1-a1×b1×a2×b2×……bm×an,其中,bm表示待评价路由中第m个节点的可用度,an表示待评价路由中第m个节点与第m-1个节点之间路由的可用度,y表示安全风险代价。The first preset formula is y=1-a 1 ×b 1 ×a 2 ×b 2 ×...b m ×a n , where b m represents the availability of the mth node in the route to be evaluated, and a n represents The availability of the route between the mth node and the m-1th node in the route to be evaluated, y represents the security risk cost.

在一种设计中,为了能够确定负载均衡代价,如图7所示,本发明实施例提供的上述S202,具体可以包括下述S2027-S2029。In one design, in order to determine the load balancing cost, as shown in FIG. 7 , the above S202 provided by the embodiment of the present invention may specifically include the following S2027-S2029.

S2027、路由评价装置获取待评价路由中每个复用段的信道容量以及信道占用量。S2027. The route evaluation device acquires the channel capacity and channel occupancy of each multiplex section in the route to be evaluated.

作为一种可能实现的方式,路由评价装置从服务器中获取待评价路由中每个复用段的信道容量以及信道占用量。As a possible implementation manner, the route evaluation device acquires the channel capacity and channel occupancy of each multiplex section in the route to be evaluated from the server.

S2028、路由评价装置根据每个复用段的信道容量以及信道占用量,确定每个复用段的资源占用率。S2028. The routing evaluation device determines the resource occupancy rate of each multiplex section according to the channel capacity and channel occupancy of each multiplex section.

每个复用段的资源占用率满足公式:

Figure BDA0003340130890000131
The resource occupancy rate of each multiplex section satisfies the formula:
Figure BDA0003340130890000131

其中,p′i表示待评价路由n个复用段中第i段的资源占用率,pmax表示当第i段的信道容量,pi表示第i段的信道占用量,n为待评价路由中复用段的个数,i为n个复用段中的任意一个。Among them, p′ i represents the resource occupancy rate of the i-th segment in the n multiplex segments of the route to be evaluated, p max represents the channel capacity of the i-th segment, p i represents the channel occupancy of the i-th segment, and n is the route to be evaluated The number of multiplex sections in i is any one of the n multiplex sections.

S2029、路由评价装置根据确定到的资源占用率以及第二预设公式,确定待评价路由的负载均衡代价。S2029. The route evaluation device determines the load balancing cost of the route to be evaluated according to the determined resource occupancy rate and the second preset formula.

需要说明的,第二预设公式为运维人员预先在路由评价装置中设置的。It should be noted that the second preset formula is pre-set in the routing evaluation device by the operation and maintenance personnel.

第二预设公式为

Figure BDA0003340130890000141
表示n个复用段的资源占用率的平均值即为负载均衡代价。The second preset formula is
Figure BDA0003340130890000141
The average value of the resource occupancy rates of n multiplex sections is the load balancing cost.

上述实施例提供的技术方案至少带来以下有益效果:路由评价装置在获取目标业务的待评价路由后,从影响ROADM网络中业务路由的四个不同影响因素出发,确定四个影响因素的量化结果,即待评价路由的路由长度代价、节点数量代价、安全风险代价以及负载均衡代价;路由长度代价用于反映待评价路由在目标业务的可用路由中的相对路由长度;节点数量代价用于反映待评价路由在可用路由中的相对节点数量;安全风险代价用于反映待评价路由的可靠程度;负载均衡代价用于反映待评价路由的资源占用率。然后路由评价装置对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价,通过路由代价的高低对目标业务的待评价路由进行评价。The technical solutions provided by the above embodiments bring at least the following beneficial effects: after the route evaluation device obtains the route to be evaluated of the target service, it determines the quantitative results of the four influencing factors from four different influencing factors affecting the service routing in the ROADM network , that is, the route length cost, node number cost, security risk cost and load balancing cost of the route to be evaluated; the route length cost is used to reflect the relative route length of the route to be evaluated in the available routes of the target service; the node number cost is used to reflect the The relative number of nodes of the evaluation route in the available routes; the security risk cost is used to reflect the reliability of the route to be evaluated; the load balancing cost is used to reflect the resource occupancy rate of the route to be evaluated. Then the route evaluation device weights the route length cost, the node number cost, the security risk cost and the load balancing cost to obtain the route cost of the target service carried by the route to be evaluated, and evaluates the route to be evaluated of the target service according to the level of the route cost.

上述主要从方法的角度对本发明实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The foregoing mainly introduces the solutions provided by the embodiments of the present invention from the perspective of methods. In order to realize the above functions, it includes corresponding hardware structures and/or software modules for performing various functions. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the embodiments of the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

本发明实施例可以根据上述方法示例对上述设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可选的,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In the embodiment of the present invention, the functional modules of the above-mentioned device can be divided according to the above-mentioned method examples. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software function modules. Optionally, the division of modules in this embodiment of the present invention is schematic, and is only a logical function division, and there may be another division manner in actual implementation.

图8为本发明实施例提供的一种路由评价装置的结构示意图。如图8所示,路由评价装置30用于对ROADM网络中业务的路由进行评价,例如用于执行图2所示的路由评价方法。路由评价装置30包括获取单元301、确定单元302以及处理单元303。FIG. 8 is a schematic structural diagram of a routing evaluation device provided by an embodiment of the present invention. As shown in FIG. 8 , the route evaluation device 30 is used for evaluating the route of services in the ROADM network, for example, for executing the route evaluation method shown in FIG. 2 . The route evaluation device 30 includes an acquisition unit 301 , a determination unit 302 and a processing unit 303 .

获取单元301,用于获取目标业务的待评价路由。The obtaining unit 301 is configured to obtain the route to be evaluated of the target service.

确定单元302,用于确定获取单元获取到的待评价路由的路由长度代价、节点数量代价、安全风险代价以及负载均衡代价;路由长度代价用于反映待评价路由在目标业务的可用路由中的相对路由长度;节点数量代价用于反映待评价路由在可用路由中的相对节点数量;安全风险代价用于反映待评价路由的可靠程度;负载均衡代价用于反映待评价路由的资源占用率。The determination unit 302 is used to determine the route length cost, node number cost, security risk cost and load balancing cost of the route to be evaluated obtained by the acquisition unit; the route length cost is used to reflect the relative position of the route to be evaluated in the available routes of the target service. The length of the route; the node number cost is used to reflect the relative number of nodes of the route to be evaluated in the available routes; the security risk cost is used to reflect the reliability of the route to be evaluated; the load balancing cost is used to reflect the resource occupancy rate of the route to be evaluated.

处理单元303,用于对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价。The processing unit 303 is configured to weight the cost of the route length, the cost of the number of nodes, the cost of security risks and the cost of load balancing, so as to obtain the route cost of the target service carried by the route to be evaluated.

可选的,处理单元303,具体用于:Optionally, the processing unit 303 is specifically used for:

确定目标业务的业务类型。Determine the business type of the target business.

根据业务类型,从预设的映射关系中查询路由长度代价的权重、节点数量代价的权重、安全风险代价的权重以及负载均衡代价的权重;映射关系包括路由长度代价、节点数量代价、安全风险代价以及负载均衡代价在不同业务类型中的权重。According to the business type, query the weight of the route length cost, the weight of the node number cost, the weight of the security risk cost, and the weight of the load balancing cost from the preset mapping relationship; the mapping relationship includes the route length cost, the node number cost, and the security risk cost And the weight of load balancing cost in different business types.

根据路由长度代价的权重、节点数量代价的权重、安全风险代价的权重以及负载均衡代价的权重,对路由长度代价、节点数量代价、安全风险代价以及负载均衡代价进行加权,以得到待评价路由承载目标业务的路由代价。According to the weight of the route length cost, the weight of the node quantity cost, the weight of the security risk cost and the weight of the load balance cost, weight the route length cost, the node quantity cost, the security risk cost and the load balance cost to obtain the route load to be evaluated Routing cost of the target service.

可选的,获取单元301,还用于获取不同业务类型的评分矩阵;评分矩阵用于反映在不同业务类型中,路由长度代价、节点数量代价、安全风险代价以及负载均衡代价中任意两个代价之间的相对重要程度。Optionally, the obtaining unit 301 is also used to obtain scoring matrices of different business types; the scoring matrix is used to reflect any two of the route length cost, node number cost, security risk cost, and load balancing cost in different business types relative importance between them.

确定单元301,还用于针对任意一种业务类型,确定第一代价与所有第二代价之间的相对重要程度的几何平均数;第一代价以及第二代价均为路由长度代价、节点数量代价、安全风险代价以及负载均衡代价中的任意一个。The determination unit 301 is also used to determine the geometric mean of the relative importance between the first cost and all second costs for any type of business; the first cost and the second cost are route length cost, node number cost , security risk cost and load balancing cost.

处理单元303,还用于分别对确定单元确定到的几何平均数进行归一化处理,以生成映射关系。The processing unit 303 is further configured to respectively perform normalization processing on the geometric mean determined by the determining unit, so as to generate a mapping relationship.

可选的,确定单元301,还用于根据评分矩阵的一致性指标CI以及预设的平均随机一致性指标RI,确定评分矩阵的一致性比率CR;CI为评分矩阵的最大特征值与评分矩阵阶数的差值,与评分矩阵阶数减一的比值。Optionally, the determination unit 301 is also used to determine the consistency ratio CR of the scoring matrix according to the consistency index CI of the scoring matrix and the preset average random consistency index RI; CI is the maximum eigenvalue of the scoring matrix and the scoring matrix The difference in order, the ratio of the order of the scoring matrix minus one.

在CR小于预设值的情况下,确定第一代价与所有第二代价之间的相对重要程度的几何平均数。When the CR is smaller than the preset value, determine the geometric mean of the relative importance degrees between the first cost and all the second costs.

可选的,确定单元301,具体用于:Optionally, the determining unit 301 is specifically used for:

获取可用路由的数量以及每个可用路由的路由长度。Get the number of available routes and the route length of each available route.

根据可用路由的数量以及每个可用路由的路由长度,分别确定可用路由的路由长度平均值以及路由长度方差。According to the number of available routes and the route length of each available route, the average route length and the route length variance of the available routes are respectively determined.

将待评价路由的路由长度与路由长度平均值的差值,与路由长度方差的比值,确定为待评价路由的初始路由长度代价。The ratio of the difference between the route length of the route to be evaluated and the average value of the route length to the variance of the route length is determined as the initial route length cost of the route to be evaluated.

对待评价路由的初始路由长度代价进行归一化处理,以得到待评价路由的路由长度代价。The initial route length cost of the route to be evaluated is normalized to obtain the route length cost of the route to be evaluated.

可选的,确定单元301,具体用于:Optionally, the determining unit 301 is specifically used for:

获取可用路由的数量以及每个可用路由的节点数量。Get the number of available routes and the number of nodes for each available route.

根据可用路由的数量以及每个可用路由的节点数量,分别确定可用路由的节点数量平均值以及节点数量方差。According to the number of available routes and the number of nodes of each available route, the average number of nodes and the variance of the number of nodes of the available routes are respectively determined.

将待评价路由的节点数量与节点数量平均值的差值,与节点数量方差的比值,确定为待评价路由的初始节点数量代价。The ratio of the difference between the number of nodes of the route to be evaluated and the average value of the number of nodes to the variance of the number of nodes is determined as the cost of the initial number of nodes of the route to be evaluated.

对待评价路由的初始节点数量代价进行归一化处理,以得到待评价路由的节点数量代价。The initial node number cost of the route to be evaluated is normalized to obtain the node number cost of the route to be evaluated.

可选的,确定单元301,具体用于:Optionally, the determining unit 301 is specifically used for:

获取待评价路由中每个节点的可用度以及相邻节点之间路由的可用度。Obtain the availability of each node in the route to be evaluated and the availability of routes between adjacent nodes.

根据每个节点的可用度、相邻节点之间路由的可用度以及第一预设公式,确定安全风险代价。The security risk cost is determined according to the availability of each node, the availability of routes between adjacent nodes, and a first preset formula.

可选的,确定单元301,具体用于:Optionally, the determining unit 301 is specifically used for:

获取待评价路由中每个复用段的信道容量以及信道占用量。Obtain the channel capacity and channel occupancy of each multiplex section in the route to be evaluated.

根据每个复用段的信道容量以及信道占用量,确定每个复用段的资源占用率。According to the channel capacity and channel occupancy of each multiplex section, the resource occupancy rate of each multiplex section is determined.

根据确定到的资源占用率以及第二预设公式,确定待评价路由的负载均衡代价。Determine the load balancing cost of the route to be evaluated according to the determined resource occupancy rate and the second preset formula.

在采用硬件的形式实现上述集成的模块的功能的情况下,本发明实施例提供了上述实施例中所涉及的路由评价装置的一种可能的结构示意图。如图9所示,一种路由评价装置40,用于对ROADM网络中业务的路由进行评价,例如用于执行图2所示的路由评价方法。该路由评价装置40包括处理器401,存储器402以及总线403。处理器401与存储器402之间可以通过总线403连接。In the case that the functions of the above-mentioned integrated modules are implemented in the form of hardware, this embodiment of the present invention provides a possible structural schematic diagram of the route evaluation apparatus involved in the above-mentioned embodiments. As shown in FIG. 9 , a route evaluation device 40 is used for evaluating service routes in a ROADM network, for example, for implementing the route evaluation method shown in FIG. 2 . The route evaluation device 40 includes a processor 401 , a memory 402 and a bus 403 . The processor 401 and the memory 402 may be connected through a bus 403 .

处理器401是路由评价装置的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器401可以是一个通用中央处理单元(central processing unit,CPU),也可以是其他通用处理器等。其中,通用处理器可以是微处理器或者是任何常规的处理器等。The processor 401 is the control center of the routing evaluation device, and may be a single processor, or may be a general term for multiple processing elements. For example, the processor 401 may be a general-purpose central processing unit (central processing unit, CPU), or other general-purpose processors. Wherein, the general-purpose processor may be a microprocessor or any conventional processor.

作为一种实施例,处理器401可以包括一个或多个CPU,例如图9中所示的CPU 0和CPU 1。As an embodiment, the processor 401 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 9 .

存储器402可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electricallyerasable programmable read-only memory,EEPROM)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory 402 may be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, a random access memory (random access memory, RAM) or other types that can store information and instructions The dynamic storage device can also be an electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM), a magnetic disk storage medium or other magnetic storage devices, or can be used to carry or store instructions or data structures desired program code and any other medium that can be accessed by a computer, but not limited thereto.

作为一种可能的实现方式,存储器402可以独立于处理器401存在,存储器402可以通过总线403与处理器401相连接,用于存储指令或者程序代码。处理器401调用并执行存储器402中存储的指令或程序代码时,能够实现本发明实施例提供的路由评价方法。As a possible implementation manner, the memory 402 may exist independently of the processor 401, and the memory 402 may be connected to the processor 401 through the bus 403, and is used for storing instructions or program codes. When the processor 401 invokes and executes the instructions or program codes stored in the memory 402, the route evaluation method provided by the embodiment of the present invention can be implemented.

另一种可能的实现方式中,存储器402也可以和处理器401集成在一起。In another possible implementation manner, the memory 402 may also be integrated with the processor 401 .

总线403,可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外围设备互连(Peripheral Component Interconnect,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图9中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 403 may be an Industry Standard Architecture (Industry Standard Architecture, ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus, etc. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one thick line is used in FIG. 9 , but it does not mean that there is only one bus or one type of bus.

需要指出的是,图9示出的结构并不构成对该路由评价装置40的限定。除图9所示部件之外,该路由评价装置40可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in FIG. 9 does not limit the route evaluation device 40 . In addition to the components shown in FIG. 9 , the route evaluation device 40 may include more or fewer components than shown, or combine certain components, or have different component arrangements.

作为一个示例,结合图8,路由评价装置中的获取单元301、确定单元302以及处理单元303实现的功能与图9中的处理器401的功能相同。As an example, with reference to FIG. 8 , the functions implemented by the acquiring unit 301 , the determining unit 302 and the processing unit 303 in the route evaluation apparatus are the same as those of the processor 401 in FIG. 9 .

可选的,如图9所示,本发明实施例提供的路由评价装置40还可以包括通信接口404。Optionally, as shown in FIG. 9 , the route evaluation device 40 provided in this embodiment of the present invention may further include a communication interface 404 .

通信接口404,用于与其他设备通过通信网络连接。该通信网络可以是以太网,无线接入网,无线局域网(wireless local area networks,WLAN)等。通信接口404可以包括用于接收数据的接收单元,以及用于发送数据的发送单元。The communication interface 404 is used to connect with other devices through the communication network. The communication network may be Ethernet, wireless access network, wireless local area network (wireless local area networks, WLAN) and so on. The communication interface 404 may include a receiving unit for receiving data, and a sending unit for sending data.

在一种设计中,本发明实施例提供的路由评价装置中,通信接口还可以集成在处理器中。In one design, in the route evaluation device provided in the embodiment of the present invention, the communication interface may also be integrated in the processor.

图10示出了本发明实施例中路由评价装置的另一种硬件结构。如图10所示,路由评价装置50可以包括处理器501以及通信接口502。处理器501与通信接口502耦合。Fig. 10 shows another hardware structure of the route evaluation device in the embodiment of the present invention. As shown in FIG. 10 , the route evaluation device 50 may include a processor 501 and a communication interface 502 . Processor 501 is coupled with communication interface 502 .

处理器501的功能可以参考上述处理器401的描述。此外,处理器501还具备存储功能,可以参考上述存储器402的功能。For functions of the processor 501, reference may be made to the description of the processor 401 above. In addition, the processor 501 also has a storage function, and reference may be made to the function of the above-mentioned memory 402 .

通信接口502用于为处理器501提供数据。该通信接口502可以是路由评价装置的内部接口,也可以是路由评价装置对外的接口(相当于通信接口404)。The communication interface 502 is used to provide data to the processor 501 . The communication interface 502 may be an internal interface of the route evaluation device, or an external interface (equivalent to the communication interface 404 ) of the route evaluation device.

需要指出的是,图10中示出的结构并不构成对路由评价装置50的限定,除图10所示部件之外,该路由评价装置50可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in FIG. 10 does not constitute a limitation to the routing evaluation device 50. Except for the components shown in FIG. 10, the routing evaluation device 50 may include more or fewer components than shown in the illustration, Or combine certain components, or different component arrangements.

同时,本发明实施例提供的服务器的硬件结构示意图也可参照上述图9或者图10中路由评价装置的描述,此处不再进行赘述。不同之处在于服务器包括的处理器用于执行服务器在上述实施例中执行的步骤。At the same time, for the schematic diagram of the hardware structure of the server provided by the embodiment of the present invention, reference may also be made to the description of the routing evaluation device in FIG. 9 or FIG. 10 above, and details are not repeated here. The difference is that the server includes a processor for executing the steps performed by the server in the above-mentioned embodiments.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能单元的划分进行举例说明。在实际应用中,可以根据需要而将上述功能分配由不同的功能单元完成,即将装置的内部结构划分成不同的功能单元,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Through the above description of the implementation, those skilled in the art can clearly understand that, for the convenience and brevity of the description, only the division of the above functional units is used as an example for illustration. In practical applications, the above function allocation can be completed by different functional units according to needs, that is, the internal structure of the device is divided into different functional units, so as to complete all or part of the functions described above. For the specific working process of the above-described system, device, and unit, reference may be made to the corresponding process in the foregoing method embodiments, and details are not repeated here.

本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质中存储有指令,当计算机执行该指令时,该计算机执行上述方法实施例所示的方法流程中的各个步骤。An embodiment of the present invention also provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the method flow shown in the above-mentioned method embodiments.

本发明的实施例提供一种包含指令的计算机程序产品,当指令在计算机上运行时,使得计算机执行上述方法实施例中的路由评价方法。An embodiment of the present invention provides a computer program product containing instructions, and when the instructions are run on a computer, the computer is made to execute the route evaluation method in the above method embodiments.

其中,计算机可读存储介质,例如可以是但不限于电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘。随机存取存储器(Random Access Memory,RAM)、只读存储器(Read-Only Memory,ROM)、可擦式可编程只读存储器(Erasable Programmable Read Only Memory,EPROM)、寄存器、硬盘、光纤、便携式紧凑磁盘只读存储器(Compact Disc Read-Only Memory,CD-ROM)、光存储器件、磁存储器件、或者上述的人以合适的组合、或者本领域数值的任何其他形式的计算机可读存储介质。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于特定用途集成电路(Application Specific Integrated Circuit,ASIC)中。在本发明实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。Wherein, the computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connection having one or more wires, portable computer disk, hard disk. Random Access Memory (Random Access Memory, RAM), Read-Only Memory (Read-Only Memory, ROM), Erasable Programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), registers, hard disk, optical fiber, portable compact Disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium in a suitable combination of the above, or values in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may be located in an application specific integrated circuit (Application Specific Integrated Circuit, ASIC). In the embodiments of the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program, and the program may be used by or in combination with an instruction execution system, apparatus or device.

以上,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何在本发明揭露的技术范围内的变化或替换,都应涵盖在本发明的保护范围之内。The above are only specific implementations of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or replacements within the technical scope disclosed in the present invention shall be covered within the protection scope of the present invention.

Claims (11)

1.一种路由评价方法,其特征在于,用于对ROADM网络中业务的路由进行评价,包括:1. A routing evaluation method, characterized in that, is used to evaluate the routing of business in the ROADM network, including: 获取目标业务的待评价路由,并确定所述待评价路由的路由长度代价、节点数量代价、安全风险代价以及负载均衡代价;所述路由长度代价用于反映所述待评价路由在所述目标业务的可用路由中的相对路由长度;所述节点数量代价用于反映所述待评价路由在所述可用路由中的相对节点数量;所述安全风险代价用于反映所述待评价路由的可靠程度;所述负载均衡代价用于反映所述待评价路由的资源占用率;Obtain the route to be evaluated of the target service, and determine the route length cost, node number cost, security risk cost, and load balancing cost of the route to be evaluated; the route length cost is used to reflect that the route to be evaluated is in the target service The relative route length in the available route; the node number cost is used to reflect the relative node number of the route to be evaluated in the available route; the security risk cost is used to reflect the reliability of the route to be evaluated; The load balancing cost is used to reflect the resource occupancy rate of the route to be evaluated; 对所述路由长度代价、所述节点数量代价、所述安全风险代价以及所述负载均衡代价进行加权,以得到所述待评价路由承载目标业务的路由代价;weighting the route length cost, the node number cost, the security risk cost, and the load balancing cost to obtain the route cost of the target service carried by the route to be evaluated; 确定所述安全风险代价,包括:Determining the cost of said security risk, including: 获取所述待评价路由中每个节点的可用度以及相邻节点之间路由的可用度;Obtain the availability of each node in the route to be evaluated and the availability of routes between adjacent nodes; 根据所述每个节点的可用度、所述相邻节点之间路由的可用度以及第一预设公式,确定所述安全风险代价;所述第一预设公式为
Figure QLYQS_1
,其中,/>
Figure QLYQS_2
表示所述待评价路由中第m个节点的可用度,/>
Figure QLYQS_3
表示所述待评价路由中第m个节点与第m-1个节点之间路由的可用度,y表示所述安全风险代价;
Determine the security risk cost according to the availability of each node, the availability of routes between adjacent nodes, and a first preset formula; the first preset formula is
Figure QLYQS_1
, where />
Figure QLYQS_2
Indicates the availability of the mth node in the route to be evaluated, />
Figure QLYQS_3
Indicates the availability of the route between the mth node and the m-1th node in the route to be evaluated, and y represents the security risk cost;
确定所述负载均衡代价,包括:Determine the load balancing cost, including: 获取所述待评价路由中每个复用段的信道容量以及信道占用量;Obtain the channel capacity and channel occupancy of each multiplex section in the route to be evaluated; 确定所述每个复用段的资源占用率;所述每个复用段的资源占用率满足公式
Figure QLYQS_4
;其中,/>
Figure QLYQS_5
表示待评价路由n个复用段中第i段的资源占用率,/>
Figure QLYQS_6
表示当第i段的信道容量,/>
Figure QLYQS_7
表示第i段的信道占用量,n为待评价路由中复用段的个数,i为n个复用段中的任意一个;
Determine the resource occupancy rate of each multiplexing section; the resource occupancy rate of each multiplexing section satisfies the formula
Figure QLYQS_4
; where />
Figure QLYQS_5
Indicates the resource occupancy rate of the ith section in the n multiplex sections of the route to be evaluated, />
Figure QLYQS_6
Indicates the channel capacity of the i-th segment, />
Figure QLYQS_7
Represents the channel occupancy of the i-th section, n is the number of multiplex sections in the route to be evaluated, and i is any one of the n multiplex sections;
根据确定到的资源占用率以及第二预设公式,确定所述待评价路由的负载均衡代价;所述第二预设公式为
Figure QLYQS_8
,/>
Figure QLYQS_9
表示所述负载均衡代价;
Determine the load balancing cost of the route to be evaluated according to the determined resource occupancy rate and a second preset formula; the second preset formula is:
Figure QLYQS_8
, />
Figure QLYQS_9
Indicates the load balancing cost;
所述对所述路由长度代价、所述节点数量代价、所述安全风险代价以及所述负载均衡代价进行加权,以得到所述待评价路由承载目标业务的路由代价,包括:The weighting of the route length cost, the node number cost, the security risk cost, and the load balancing cost to obtain the route cost of the target service carried by the route to be evaluated includes: 获取不同业务类型的评分矩阵;所述评分矩阵用于反映在不同业务类型中,所述路由长度代价、所述节点数量代价、所述安全风险代价以及所述负载均衡代价中任意两个代价之间的相对重要程度;Acquiring scoring matrices of different business types; the scoring matrix is used to reflect the route length cost, the node number cost, the security risk cost, and any two of the load balancing costs in different business types the relative importance of 针对任意一种业务类型,确定第一代价与所有第二代价之间的相对重要程度的几何平均数;所述第一代价以及所述第二代价均为所述路由长度代价、所述节点数量代价、所述安全风险代价以及所述负载均衡代价中的任意一个;For any type of business, determine the geometric mean of the relative importance between the first cost and all second costs; the first cost and the second cost are the route length cost, the number of nodes Any one of the cost, the security risk cost and the load balancing cost; 分别对确定到的几何平均数进行归一化处理,以生成映射关系;Normalize the determined geometric mean to generate a mapping relationship; 确定所述目标业务的业务类型;determining the business type of the target business; 根据所述业务类型,从所述映射关系中查询所述路由长度代价的权重、所述节点数量代价的权重、所述安全风险代价的权重以及所述负载均衡代价的权重;所述映射关系包括所述路由长度代价、所述节点数量代价、所述安全风险代价以及所述负载均衡代价在不同业务类型中的权重;According to the business type, query the weight of the route length cost, the weight of the node quantity cost, the weight of the security risk cost, and the weight of the load balancing cost from the mapping relationship; the mapping relationship includes The weight of the route length cost, the node number cost, the security risk cost and the load balancing cost in different business types; 根据所述路由长度代价的权重、所述节点数量代价的权重、所述安全风险代价的权重以及所述负载均衡代价的权重,对所述路由长度代价、所述节点数量代价、所述安全风险代价以及所述负载均衡代价进行加权,以得到所述待评价路由承载所述目标业务的路由代价。According to the weight of the route length cost, the weight of the node quantity cost, the weight of the security risk cost and the weight of the load balancing cost, the route length cost, the node quantity cost, the security risk The cost and the load balancing cost are weighted to obtain the route cost of the target service carried by the route to be evaluated.
2.根据权利要求1所述的路由评价方法,其特征在于,所述方法还包括:2. The routing evaluation method according to claim 1, wherein the method further comprises: 根据所述评分矩阵的一致性指标CI以及预设的平均随机一致性指标RI,确定所述评分矩阵的一致性比率CR;所述CI为所述评分矩阵的最大特征值与所述评分矩阵阶数的差值,与所述评分矩阵阶数减一的比值;According to the consistency index CI of the scoring matrix and the preset average random consistency index RI, determine the consistency ratio CR of the scoring matrix; the CI is the maximum eigenvalue of the scoring matrix and the order of the scoring matrix The difference of the number, and the ratio of the order of the scoring matrix minus one; 所述确定第一代价与所有第二代价之间的相对重要程度的几何平均数,包括:The determination of the geometric mean of relative importance between the first cost and all second costs includes: 在所述CR小于预设值的情况下,确定所述第一代价与所有所述第二代价之间的相对重要程度的几何平均数。If the CR is smaller than a preset value, determine a geometric mean of the relative importances between the first cost and all the second costs. 3.根据权利要求1或2所述的路由评价方法,其特征在于,确定所述路由长度代价,包括:3. The route evaluation method according to claim 1 or 2, wherein determining the route length cost comprises: 获取所述可用路由的数量以及每个可用路由的路由长度;Obtain the number of available routes and the route length of each available route; 根据所述可用路由的数量以及所述每个可用路由的路由长度,分别确定所述可用路由的路由长度平均值以及路由长度方差;According to the number of available routes and the route length of each available route, respectively determine the average route length and the route length variance of the available routes; 将所述待评价路由的路由长度与所述路由长度平均值的差值,与所述路由长度方差的比值,确定为所述待评价路由的初始路由长度代价;Determining the ratio of the difference between the route length of the route to be evaluated and the average value of the route length to the variance of the route length as the initial route length cost of the route to be evaluated; 对所述待评价路由的初始路由长度代价进行归一化处理,以得到所述待评价路由的路由长度代价。Perform normalization processing on the initial route length cost of the route to be evaluated to obtain the route length cost of the route to be evaluated. 4.根据权利要求1或2所述的路由评价方法,其特征在于,确定所述节点数量代价,包括:4. The routing evaluation method according to claim 1 or 2, wherein determining the cost of the number of nodes comprises: 获取所述可用路由的数量以及每个可用路由的节点数量;Obtain the number of available routes and the number of nodes for each available route; 根据所述可用路由的数量以及所述每个可用路由的节点数量,分别确定所述可用路由的节点数量平均值以及节点数量方差;According to the number of available routes and the number of nodes of each available route, respectively determine the average number of nodes and the variance of the number of nodes of the available routes; 将所述待评价路由的节点数量与所述节点数量平均值的差值,与所述节点数量方差的比值,确定为所述待评价路由的初始节点数量代价;determining the ratio of the difference between the number of nodes of the route to be evaluated and the average value of the number of nodes to the variance of the number of nodes as the cost of the initial number of nodes of the route to be evaluated; 对所述待评价路由的初始节点数量代价进行归一化处理,以得到所述待评价路由的节点数量代价。The initial node quantity cost of the route to be evaluated is normalized to obtain the node quantity cost of the route to be evaluated. 5.一种路由评价装置,其特征在于,用于对ROADM网络中业务的路由进行评价,包括获取单元、确定单元以及处理单元;5. A routing evaluation device, characterized in that it is used to evaluate the routing of services in the ROADM network, including an acquisition unit, a determination unit and a processing unit; 所述获取单元,用于获取目标业务的待评价路由;The obtaining unit is used to obtain the route to be evaluated of the target service; 所述确定单元,用于确定所述获取单元获取到的待评价路由的路由长度代价、节点数量代价、安全风险代价以及负载均衡代价;所述路由长度代价用于反映所述待评价路由在所述目标业务的可用路由中的相对路由长度;所述节点数量代价用于反映所述待评价路由在所述可用路由中的相对节点数量;所述安全风险代价用于反映所述待评价路由的可靠程度;所述负载均衡代价用于反映所述待评价路由的资源占用率;The determination unit is configured to determine the route length cost, node number cost, security risk cost and load balancing cost of the route to be evaluated acquired by the acquisition unit; the route length cost is used to reflect that the route to be evaluated is in the The relative route length in the available routes of the target service; the node quantity cost is used to reflect the relative node quantity of the route to be evaluated in the available routes; the security risk cost is used to reflect the value of the route to be evaluated degree of reliability; the load balancing cost is used to reflect the resource occupancy rate of the route to be evaluated; 所述处理单元,用于对所述路由长度代价、所述节点数量代价、所述安全风险代价以及所述负载均衡代价进行加权,以得到所述待评价路由承载目标业务的路由代价;The processing unit is configured to weight the route length cost, the node number cost, the security risk cost, and the load balancing cost to obtain the route cost of the target service carried by the route to be evaluated; 所述确定单元,具体用于:The determining unit is specifically used for: 获取所述待评价路由中每个节点的可用度以及相邻节点之间路由的可用度 ;Obtain the availability of each node in the route to be evaluated and the availability of routes between adjacent nodes; 根据所述每个节点的可用度、所述相邻节点之间路由的可用度以及第一预设公式,确定所述安全风险代价;所述第一预设公式为
Figure QLYQS_10
,其中,/>
Figure QLYQS_11
表示所述待评价路由中第m个节点的可用度,/>
Figure QLYQS_12
表示所述待评价路由中第m个节点与第m-1个节点之间路由的可用度,y表示所述安全风险代价;
Determine the security risk cost according to the availability of each node, the availability of routes between adjacent nodes, and a first preset formula; the first preset formula is
Figure QLYQS_10
, where />
Figure QLYQS_11
Indicates the availability of the mth node in the route to be evaluated, />
Figure QLYQS_12
Indicates the availability of the route between the mth node and the m-1th node in the route to be evaluated, and y represents the security risk cost;
所述确定单元,具体用于:The determining unit is specifically used for: 获取所述待评价路由中每个复用段的信道容量以及信道占用量;Obtain the channel capacity and channel occupancy of each multiplex section in the route to be evaluated; 根据所述每个复用段的信道容量以及信道占用量,确定所述每个复用段的资源占用率;所述每个复用段的资源占用率满足公式
Figure QLYQS_13
;其中,/>
Figure QLYQS_14
表示待评价路由n个复用段中第i段的资源占用率,/>
Figure QLYQS_15
表示当第i段的信道容量,/>
Figure QLYQS_16
表示第i段的信道占用量,n为待评价路由中复用段的个数,i为n个复用段中的任意一个;
According to the channel capacity and channel occupancy of each multiplexing section, determine the resource occupancy rate of each multiplexing section; the resource occupancy rate of each multiplexing section satisfies the formula
Figure QLYQS_13
; where />
Figure QLYQS_14
Indicates the resource occupancy rate of the i-th segment in the n multiplex segments of the route to be evaluated, />
Figure QLYQS_15
Indicates the channel capacity of the i-th segment, />
Figure QLYQS_16
Represents the channel occupancy of the i-th section, n is the number of multiplex sections in the route to be evaluated, and i is any one of the n multiplex sections;
根据确定到的资源占用率以及第二预设公式,确定所述待评价路由的负载均衡代价;所述第二预设公式为
Figure QLYQS_17
,/>
Figure QLYQS_18
表示所述负载均衡代价;
Determine the load balancing cost of the route to be evaluated according to the determined resource occupancy rate and a second preset formula; the second preset formula is:
Figure QLYQS_17
, />
Figure QLYQS_18
Indicates the load balancing cost;
所述获取单元还用于:The acquisition unit is also used for: 获取不同业务类型的评分矩阵;所述评分矩阵用于反映在不同业务类型中,所述路由长度代价、所述节点数量代价、所述安全风险代价以及所述负载均衡代价中任意两个代价之间的相对重要程度;Acquiring scoring matrices of different business types; the scoring matrix is used to reflect the route length cost, the node number cost, the security risk cost, and any two of the load balancing costs in different business types the relative importance of 所述确定单元,还用于:The determining unit is also used for: 针对任意一种业务类型,确定第一代价与所有第二代价之间的相对重要程度的几何平均数;所述第一代价以及所述第二代价均为所述路由长度代价、所述节点数量代价、所述安全风险代价以及所述负载均衡代价中的任意一个;For any type of business, determine the geometric mean of the relative importance between the first cost and all second costs; the first cost and the second cost are the route length cost, the number of nodes Any one of the cost, the security risk cost and the load balancing cost; 所述处理单元,还用于分别对确定到的几何平均数进行归一化处理,以生成映射关系;The processing unit is further configured to perform normalization processing on the determined geometric mean to generate a mapping relationship; 所述处理单元,具体用于:The processing unit is specifically used for: 确定所述目标业务的业务类型;determining the business type of the target business; 根据所述业务类型,从所述映射关系中查询所述路由长度代价的权重、所述节点数量代价的权重、所述安全风险代价的权重以及所述负载均衡代价的权重;所述映射关系包括所述路由长度代价、所述节点数量代价、所述安全风险代价以及所述负载均衡代价在不同业务类型中的权重;According to the business type, query the weight of the route length cost, the weight of the node quantity cost, the weight of the security risk cost, and the weight of the load balancing cost from the mapping relationship; the mapping relationship includes The weight of the route length cost, the node number cost, the security risk cost and the load balancing cost in different service types; 根据所述路由长度代价的权重、所述节点数量代价的权重、所述安全风险代价的权重以及所述负载均衡代价的权重,对所述路由长度代价、所述节点数量代价、所述安全风险代价以及所述负载均衡代价进行加权,以得到所述待评价路由承载所述目标业务的路由代价。According to the weight of the route length cost, the weight of the node quantity cost, the weight of the security risk cost and the weight of the load balancing cost, the route length cost, the node quantity cost, the security risk The cost and the load balancing cost are weighted to obtain the route cost of the target service carried by the route to be evaluated.
6.根据权利要求5所述的路由评价装置,其特征在于,所述确定单元,还用于根据所述评分矩阵的一致性指标CI以及预设的平均随机一致性指标RI,确定所述评分矩阵的一致性比率CR;所述CI为所述评分矩阵的最大特征值与所述评分矩阵阶数的差值,与所述评分矩阵阶数减一的比值;6. The routing evaluation device according to claim 5, wherein the determining unit is further configured to determine the score according to the consistency index CI of the scoring matrix and the preset average random consistency index RI. The consistency ratio CR of the matrix; the CI is the difference between the maximum eigenvalue of the scoring matrix and the order of the scoring matrix, and the ratio of the order of the scoring matrix minus one; 在所述CR小于预设值的情况下,确定所述第一代价与所有所述第二代价之间的相对重要程度的几何平均数。If the CR is smaller than a preset value, determine a geometric mean of the relative importances between the first cost and all the second costs. 7.根据权利要求5或6所述的路由评价装置,其特征在于,所述确定单元,具体用于:7. The routing evaluation device according to claim 5 or 6, wherein the determining unit is specifically used for: 获取所述可用路由的数量以及每个可用路由的路由长度;Obtain the number of available routes and the route length of each available route; 根据所述可用路由的数量以及所述每个可用路由的路由长度,分别确定所述可用路由的路由长度平均值以及路由长度方差;According to the number of available routes and the route length of each available route, respectively determine the average route length and the route length variance of the available routes; 将所述待评价路由的路由长度与所述路由长度平均值的差值,与所述路由长度方差的比值,确定为所述待评价路由的初始路由长度代价;Determining the ratio of the difference between the route length of the route to be evaluated and the average value of the route length to the variance of the route length as the initial route length cost of the route to be evaluated; 对所述待评价路由的初始路由长度代价进行归一化处理,以得到所述待评价路由的路由长度代价。Perform normalization processing on the initial route length cost of the route to be evaluated to obtain the route length cost of the route to be evaluated. 8.根据权利要求5或6所述的路由评价装置,其特征在于,所述确定单元,具体用于:8. The routing evaluation device according to claim 5 or 6, wherein the determining unit is specifically used for: 获取所述可用路由的数量以及每个可用路由的节点数量;Obtain the number of available routes and the number of nodes for each available route; 根据所述可用路由的数量以及所述每个可用路由的节点数量,分别确定所述可用路由的节点数量平均值以及节点数量方差;According to the number of available routes and the number of nodes of each available route, respectively determine the average number of nodes and the variance of the number of nodes of the available routes; 将所述待评价路由的节点数量与所述节点数量平均值的差值,与所述节点数量方差的比值,确定为所述待评价路由的初始节点数量代价;determining the ratio of the difference between the number of nodes of the route to be evaluated and the average value of the number of nodes to the variance of the number of nodes as the cost of the initial number of nodes of the route to be evaluated; 对所述待评价路由的初始节点数量代价进行归一化处理,以得到所述待评价路由的节点数量代价。The initial node quantity cost of the route to be evaluated is normalized to obtain the node quantity cost of the route to be evaluated. 9.一种路由评价装置,其特征在于,包括:处理器以及存储器;其中,所述存储器用于存储一个或多个程序,所述一个或多个程序包括计算机执行指令,当所述路由评价装置运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述路由评价装置执行权利要求1-4中任一项所述的路由评价方法。9. A route evaluation device, characterized in that it includes: a processor and a memory; wherein the memory is used to store one or more programs, and the one or more programs include computer-executed instructions, when the route evaluation When the device is running, the processor executes the computer-executed instructions stored in the memory, so that the route evaluation device executes the route evaluation method according to any one of claims 1-4. 10.一种服务器,其特征在于,包括:处理器以及存储器;其中,所述存储器用于存储一个或多个程序,所述一个或多个程序包括计算机执行指令,当所述服务器运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述服务器执行权利要求1-4中任一项所述的路由评价方法。10. A server, characterized in that it includes: a processor and a memory; wherein, the memory is used to store one or more programs, and the one or more programs include computer-executed instructions. When the server is running, The processor executes the computer-executable instructions stored in the memory, so that the server executes the route evaluation method according to any one of claims 1-4. 11.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当所述指令在路由评价装置上运行时,使得所述路由评价装置执行如权利要求1-4中任意一项所述的路由评价方法。11. A computer-readable storage medium, characterized in that instructions are stored in the computer-readable storage medium, and when the instructions are run on the route evaluation device, the route evaluation device is made to execute the method according to claim 1- The route evaluation method described in any one of 4.
CN202111305988.9A 2021-11-05 2021-11-05 Route evaluation method, device, server and storage medium Active CN114124779B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111305988.9A CN114124779B (en) 2021-11-05 2021-11-05 Route evaluation method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111305988.9A CN114124779B (en) 2021-11-05 2021-11-05 Route evaluation method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN114124779A CN114124779A (en) 2022-03-01
CN114124779B true CN114124779B (en) 2023-06-30

Family

ID=80380927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111305988.9A Active CN114124779B (en) 2021-11-05 2021-11-05 Route evaluation method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN114124779B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10333805A1 (en) * 2003-07-24 2005-02-24 Siemens Ag Method for determining a connection path and an associated unoccupied wavelength channel
EP2070276A1 (en) * 2006-09-26 2009-06-17 France Telecom Method for evaluating the reliability of a route in a cooperative network
CN101715150A (en) * 2009-11-16 2010-05-26 赵季红 Wavelength assignment algorithm with capacity relative minimum influence
WO2010105468A1 (en) * 2009-03-20 2010-09-23 中兴通讯股份有限公司 Label switch path selection method based upon link bundle
CN108616422A (en) * 2018-04-20 2018-10-02 中国联合网络通信集团有限公司 Network capacity appraisal procedure, device and equipment
CN109565346A (en) * 2016-08-29 2019-04-02 华为技术有限公司 Control the method and system that frequency spectrum occupies
WO2019241992A1 (en) * 2018-06-22 2019-12-26 华为技术有限公司 Routing method, node and computer storage medium
US10686543B1 (en) * 2019-03-05 2020-06-16 Ciena Corporation Time and margin constrained routing, spectrum, and restoration speed assignment in optical networks
US10721315B1 (en) * 2019-12-12 2020-07-21 Eci Telecom Ltd. Developing and implementing migration sequences in data communication networks
CN112118176A (en) * 2020-08-27 2020-12-22 国网内蒙古东部电力有限公司信息通信分公司 Service reliability-oriented comprehensive data network channel routing load optimization method
CN113112102A (en) * 2020-01-10 2021-07-13 中国移动通信集团山西有限公司 Priority determination method, device, equipment and storage medium

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110318004A1 (en) * 2008-12-23 2011-12-29 Telefonaktiebolaget L M Ericsson (Publ) Transmission and routing of optical signals
CN103260094B (en) * 2012-02-20 2018-09-04 中兴通讯股份有限公司 A kind of method for routing, the notification method of routing policy and corresponding device
US10454583B2 (en) * 2016-04-22 2019-10-22 Huawei Technologies Co., Ltd System and method for communication network service connectivity
US10432342B1 (en) * 2018-04-18 2019-10-01 At&T Intellectual Property I, L.P. Routing and regenerator planning in a carrier's core reconfigurable optical network
CN108574631B (en) * 2018-04-20 2021-04-30 中国联合网络通信集团有限公司 Route distribution method and device
US11356356B2 (en) * 2019-10-22 2022-06-07 Ciena Corporation Permitted network risks in diverse route determinations
CN110913285B (en) * 2019-11-01 2022-02-18 中国联合网络通信集团有限公司 Route distribution method and device
CN112989621B (en) * 2021-03-31 2023-06-23 建信金融科技有限责任公司 Model performance evaluation method, device, equipment and storage medium
CN113159545A (en) * 2021-04-09 2021-07-23 京东数字科技控股股份有限公司 Method and device for determining value attribute value, electronic equipment and storage medium
CN113379238A (en) * 2021-06-09 2021-09-10 深圳市城市公共安全技术研究院有限公司 Risk assessment method and device and electronic equipment
CN113472591B (en) * 2021-07-15 2023-04-07 中国联合网络通信集团有限公司 Method and device for determining service performance

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10333805A1 (en) * 2003-07-24 2005-02-24 Siemens Ag Method for determining a connection path and an associated unoccupied wavelength channel
EP2070276A1 (en) * 2006-09-26 2009-06-17 France Telecom Method for evaluating the reliability of a route in a cooperative network
WO2010105468A1 (en) * 2009-03-20 2010-09-23 中兴通讯股份有限公司 Label switch path selection method based upon link bundle
CN101715150A (en) * 2009-11-16 2010-05-26 赵季红 Wavelength assignment algorithm with capacity relative minimum influence
CN109565346A (en) * 2016-08-29 2019-04-02 华为技术有限公司 Control the method and system that frequency spectrum occupies
CN108616422A (en) * 2018-04-20 2018-10-02 中国联合网络通信集团有限公司 Network capacity appraisal procedure, device and equipment
WO2019241992A1 (en) * 2018-06-22 2019-12-26 华为技术有限公司 Routing method, node and computer storage medium
US10686543B1 (en) * 2019-03-05 2020-06-16 Ciena Corporation Time and margin constrained routing, spectrum, and restoration speed assignment in optical networks
US10721315B1 (en) * 2019-12-12 2020-07-21 Eci Telecom Ltd. Developing and implementing migration sequences in data communication networks
CN113112102A (en) * 2020-01-10 2021-07-13 中国移动通信集团山西有限公司 Priority determination method, device, equipment and storage medium
CN112118176A (en) * 2020-08-27 2020-12-22 国网内蒙古东部电力有限公司信息通信分公司 Service reliability-oriented comprehensive data network channel routing load optimization method

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
《RO A DM 技术在干线光传输网络中的组网应用及演进探讨》;陈伟东;《电子质量》(第9期);全文 *
《链性传输系统ROADM应用模式探讨》;乔月强,金 飙,王先枝;《邮电设计技术》(第4期);全文 *
Decongestion and Vector Difference based Wavelength Routing and Assignment schemes In DWDM networks;Prakash, Anurag, Chadha, Chadha, Devi;《International Conference on Communication Systems and Networks》;全文 *
ROADM网络规划设计方法研究;王鹏,李峥,张传熙;《邮电设计技术》;20180415(第4期);全文 *
T.S. Indumathi ; T. Srinivas ; K. Rajaiah ; V. Rajappa.International Conference on Communication Systems and Networks.《IEEE》.2010,全文. *

Also Published As

Publication number Publication date
CN114124779A (en) 2022-03-01

Similar Documents

Publication Publication Date Title
WO2018149345A1 (en) Data processing method and device
Enayati et al. Identifying trade‐offs in equity and efficiency for simultaneously optimizing location and multipriority dispatch of ambulances
CN106233276B (en) The coordination admission control of network-accessible block storage device
US20190319844A1 (en) Service deployment method and apparatus
CN112600887B (en) Computing power management method and device
US9342370B2 (en) Server migration
WO2017128980A1 (en) Method and device for managing resources in cloud platform
CN111371856B (en) Cloud computing task scheduling method and device, cloud computing system and server
CN107659433A (en) A kind of cloud resource dispatching method and equipment
JP2018515844A (en) Data processing method and system
CN109191287A (en) A kind of sharding method, device and the electronic equipment of block chain intelligence contract
CN113377866B (en) Load balancing method and device for virtualized database proxy service
CN111182037A (en) Mapping method and device of virtual network
CN113438678B (en) A method and device for allocating cloud resources for network slicing
CN110851235A (en) A virtual network function deployment method suitable for optimal configuration of multi-dimensional resources
CN113114517A (en) Network resource dynamic backup method and system based on node characteristics under network slice
CN114124779B (en) Route evaluation method, device, server and storage medium
CN111160661A (en) Method, system and equipment for optimizing reliability of power communication network
CN113347238A (en) Message partitioning method, system, device and storage medium based on block chain
CN113472591B (en) Method and device for determining service performance
CN111585789A (en) Data prediction method and device
CN115544697A (en) Broadband node position planning method, device, equipment and storage medium
CN106789289B (en) Method and apparatus for virtual network mapping
CN115511316A (en) Interface model determining method, device and readable storage medium
CN113076197A (en) Load balancing method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant