CN118337694B - A routing optimization method and system based on service function chain - Google Patents

A routing optimization method and system based on service function chain Download PDF

Info

Publication number
CN118337694B
CN118337694B CN202410748799.6A CN202410748799A CN118337694B CN 118337694 B CN118337694 B CN 118337694B CN 202410748799 A CN202410748799 A CN 202410748799A CN 118337694 B CN118337694 B CN 118337694B
Authority
CN
China
Prior art keywords
function chain
service function
link
physical
routing
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
CN202410748799.6A
Other languages
Chinese (zh)
Other versions
CN118337694A (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.)
State Grid Zhejiang Electric Power Co Ltd Yunhe County Power Supply Co
Lishui Power Supply Co of State Grid Zhejiang Electric Power Co Ltd
Original Assignee
State Grid Zhejiang Electric Power Co Ltd Yunhe County Power Supply Co
Lishui Power Supply Co of State Grid Zhejiang Electric Power 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 State Grid Zhejiang Electric Power Co Ltd Yunhe County Power Supply Co, Lishui Power Supply Co of State Grid Zhejiang Electric Power Co Ltd filed Critical State Grid Zhejiang Electric Power Co Ltd Yunhe County Power Supply Co
Priority to CN202410748799.6A priority Critical patent/CN118337694B/en
Publication of CN118337694A publication Critical patent/CN118337694A/en
Application granted granted Critical
Publication of CN118337694B publication Critical patent/CN118337694B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/12Shortest path evaluation
    • H04L45/123Evaluation of link metrics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation
    • H04L45/124Shortest path evaluation using a combination of metrics

Landscapes

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

Abstract

The invention relates to the technical field of electric power communication, and discloses a route optimization method and a system based on a service function chain, wherein the method comprises the steps of calculating the importance of the function chain of the service function chain according to the information physical sensitivity of an electric power system and the cascading failure indication coefficient of a transmission line; calculating a link risk value of the physical link according to the importance of the functional link and the availability of the physical link, and calculating a risk route weight value of the physical link according to the link risk value and the link length; and establishing a service function link route optimization model according to the importance degree of the function link and the risk route weight value, and solving to obtain an optimal route strategy of the power system. The routing strategy of the invention preferentially distributes the high-importance SFC to the network path with low risk value, avoids the concentration of the high-importance information in the local topology of the network, and improves the robustness of the routing mechanism and realizes the self-adaption in the fault scene by searching the solution in the most serious fault scene.

Description

一种基于服务功能链的路由优化方法和系统A routing optimization method and system based on service function chain

技术领域Technical Field

本发明涉及电力通信技术领域,特别是涉及一种基于服务功能链的路由优化方法和系统。The present invention relates to the field of power communication technology, and in particular to a routing optimization method and system based on a service function chain.

背景技术Background Art

随着电网数字化进程加速演进,国家电网通过新型数字基础设施,为传统电网向能源互联网跨域升级、电网企业向能源互联网企业转型奠定数字化基础,以进一步促进电力系统和电力通信系统从功能到拓扑层面多维度的深度耦合。目前,较为典型的网络切片技术、软件定义网络技术、网络功能虚拟化技术等新兴网络技术已陆续在电力通信系统中落地实施。As the digitalization of power grids accelerates, State Grid has laid a digital foundation for the cross-domain upgrade of traditional power grids to energy Internet and the transformation of power grid enterprises to energy Internet enterprises through new digital infrastructure, so as to further promote the deep coupling of power systems and power communication systems from functional to topological levels. At present, the more typical emerging network technologies such as network slicing technology, software-defined network technology, and network function virtualization technology have been implemented in power communication systems.

电网安全生产和新兴业务持续向IP化、宽带化演进,给电力通信系统的灵活性和控制能力带来了极大提升,同时也为应对信息物理融合场景下的级联故障问题提供了新的解决思路。新型电力系统作为典型的信息物理耦合系统,在因信息化赋能而提升效率的同时,其内部也面临着因电力系统与电力通信系统深度耦合而带来的级联故障风险。比如由于电网遭受黑客攻击致使电力通信系统部分环节失效(控制服务器关机),从而影响物理电网运行,造成了区域性大停电的严重后果。实际运行中受通信系统影响最大的业务是承载于传输层的紧急控制业务,相关业务信息的丢失将直接对故障后电力系统的运行调整和拓扑结构产生影响,极端情况下将引起故障范围扩大乃至系统失稳。The continuous evolution of power grid safety production and emerging services towards IP and broadband has greatly improved the flexibility and control capabilities of power communication systems, and also provided new solutions to the cascading failure problem in cyber-physical fusion scenarios. As a typical cyber-physical coupling system, the new power system, while improving efficiency due to information empowerment, also faces the risk of cascading failures due to the deep coupling of the power system and the power communication system. For example, due to hacker attacks on the power grid, some links of the power communication system failed (the control server was shut down), which affected the operation of the physical power grid and caused serious consequences such as regional power outages. In actual operation, the business most affected by the communication system is the emergency control business carried on the transmission layer. The loss of relevant business information will directly affect the operation adjustment and topology structure of the power system after the fault. In extreme cases, it will cause the scope of the fault to expand and even cause the system to become unstable.

就新型电力系统的调控而言,精准调节电网线路上的能量分布远比对信息侧的信息流传输进行优化调控更为困难,而针对通信故障导致信息业务丢失进而使单一故障恶化为级联故障的问题,目前大多采用电网侧的级联故障抵御机制,但是这种机制并不能有效解决上述问题,因此,亟需一种路由优化策略以降低紧急控制业务因通信故障阻断而导致电力系统故障演化为级联故障的可能。As far as the regulation of new power systems is concerned, accurately adjusting the energy distribution on the power grid lines is far more difficult than optimizing the information flow transmission on the information side. In order to address the problem of information service loss caused by communication failures, which in turn deteriorates a single failure into a cascading failure, most of the current cascading failure resistance mechanisms on the power grid side are adopted. However, this mechanism cannot effectively solve the above problems. Therefore, a routing optimization strategy is urgently needed to reduce the possibility of power system failures evolving into cascading failures due to the blocking of emergency control services due to communication failures.

发明内容Summary of the invention

为了解决上述技术问题,本发明提供了一种基于服务功能链的路由优化方法和系统,通过从信息侧对路由策略进行优化来改善高重要度信息在局部网络集中的现象,以达到增强信息传输的鲁棒性,减少通信故障成为电力系统级联故障诱因的可能性的技术效果。In order to solve the above technical problems, the present invention provides a routing optimization method and system based on a service function chain, which improves the phenomenon of high-importance information being concentrated in a local network by optimizing the routing strategy from the information side, so as to achieve the technical effect of enhancing the robustness of information transmission and reducing the possibility of communication failures becoming the cause of cascading failures in the power system.

第一方面,本发明提供了一种基于服务功能链的路由优化方法,所述方法包括:In a first aspect, the present invention provides a route optimization method based on a service function chain, the method comprising:

根据电力系统的信息物理敏感度和传输线路的级联故障指示系数,计算服务功能链的功能链重要度;According to the information physical sensitivity of the power system and the cascading fault indication coefficient of the transmission line, the function chain importance of the service function chain is calculated;

根据所述功能链重要度和物理链路的可用率,计算物理链路的链路风险值,并根据所述链路风险值和链路长度,计算物理链路的风险路由权重值;Calculating a link risk value of the physical link according to the importance of the function chain and the availability of the physical link, and calculating a risk routing weight value of the physical link according to the link risk value and the link length;

根据所述功能链重要度和所述风险路由权重值,建立服务功能链路由优化模型,并对所述服务功能链路由优化模型进行求解,得到电力系统的最优路由策略。According to the function chain importance and the risk routing weight value, a service function chain routing optimization model is established, and the service function chain routing optimization model is solved to obtain an optimal routing strategy for the power system.

进一步地,在所述根据电力系统的信息物理敏感度和传输线路的级联故障指示系数,计算服务功能链的功能链重要度的步骤之前,还包括:Furthermore, before the step of calculating the function chain importance of the service function chain according to the information physical sensitivity of the power system and the cascading fault indication coefficient of the transmission line, the method further includes:

根据电力系统中信息量和物理量的映射关系,计算电力系统的信息物理敏感度;According to the mapping relationship between information quantity and physical quantity in the power system, the information-physical sensitivity of the power system is calculated;

根据电力系统中输电线路的极限功率接近度和功率波动幅度,计算所述传输线路的级联故障指示系数。According to the limit power proximity and power fluctuation amplitude of the transmission line in the power system, the cascading fault indication coefficient of the transmission line is calculated.

进一步地,所述根据所述功能链重要度和所述风险路由权重值,建立服务功能链路由优化模型的步骤包括:Furthermore, the step of establishing a service function chain routing optimization model according to the function chain importance and the risk routing weight value includes:

将所述风险路由权重值作为路由决策变量的权重值,并根据所述功能链重要度,建立第一目标函数;Using the risk routing weight value as the weight value of the routing decision variable, and establishing a first objective function according to the function chain importance;

根据链路故障的不确定变量,确定服务功能链的中断指示系数,并根据所述功能链重要度,建立第二目标函数;Determine the interruption indication coefficient of the service function chain according to the uncertain variable of the link failure, and establish a second objective function according to the importance of the function chain;

根据所述第一目标函数和所述第二目标函数,建立路由优化目标函数;Establishing a routing optimization objective function according to the first objective function and the second objective function;

根据服务功能链的虚拟网络功能节点要求、带宽资源要求和选取路由要求,建立所述服务功能链的约束条件;Establishing constraints of the service function chain according to the virtual network function node requirements, bandwidth resource requirements and routing selection requirements of the service function chain;

将所述路由优化目标函数和所述约束条件作为服务功能链路由优化模型。The routing optimization objective function and the constraint conditions are used as a service function chain routing optimization model.

进一步地,所述根据服务功能链的虚拟网络功能节点要求、带宽资源要求和选取路由要求,建立所述服务功能链的约束条件的步骤包括:Furthermore, the step of establishing the constraint conditions of the service function chain according to the virtual network function node requirements, bandwidth resource requirements and route selection requirements of the service function chain includes:

根据服务功能链中虚拟网络功能的节点部署唯一性,建立节点约束条件;Establish node constraints based on the uniqueness of node deployment of virtual network functions in the service function chain;

根据服务功能链的带宽资源最大值,建立带宽资源约束条件;Establish bandwidth resource constraint conditions based on the maximum bandwidth resource of the service function chain;

根据服务功能链中所选取路由的节点访问顺序要求,建立访问顺序约束条件;Establish access sequence constraints based on the node access sequence requirements of the selected routes in the service function chain;

根据服务功能链中所选取路由的网络拓扑要求,建立路由拓扑约束条件。Establish routing topology constraints based on the network topology requirements of the routes selected in the service function chain.

进一步地,采用如下公式表示所述信息物理敏感度:Furthermore, the physical sensitivity of the information is expressed by the following formula:

式中,表示物理状态变量的向量;表示信息变量的向量,表示物理侧控制变量的向量,表示信息侧控制变量的向量;In the formula, A vector representing the physical state variables; represents a vector of information variables, represents the vector of physical side control variables, represents the vector of information-side control variables;

采用如下公式表示所述极限功率接近度:The limit power proximity is expressed by the following formula:

式中,表示故障前输电线路流过的功率,表示输电线路的基准功率值,表示输电线路的功率传输极限,表示输电线路总数;In the formula, Indicates the transmission line before the fault The power flowing through Indicates transmission line The reference power value, Indicates transmission line The power transfer limit is represents the total number of transmission lines;

采用如下公式表示所述功率波动幅度:The power fluctuation amplitude is expressed by the following formula:

式中,表示输电线路故障后输电线路上引起的功率波动;In the formula, Indicates transmission line Transmission line after fault Power fluctuation caused by

采用如下公式表示所述级联故障指示系数:The cascade fault indication coefficient is expressed by the following formula:

式中,表示输电线路的级联故障指示系数,表示均衡因子;In the formula, Indicates transmission line The cascading fault indication coefficient, represents the equilibrium factor;

采用如下公式表示所述功能链重要度:The following formula is used to express the importance of the function chain:

式中,表示第k条服务功能链的功能链重要度,表示第k条服务功能链的信息物理敏感度,表示故障场景发生的概率,S表示通信网络的故障矩阵不确定集,表示发生故障场景的输电线路的级联故障指示系数。In the formula, represents the function chain importance of the kth service function chain, represents the information-physical sensitivity of the kth service function chain, Indicates the fault scenario The probability of occurrence, S represents the uncertainty set of the fault matrix of the communication network, Indicates a failure scenario Transmission lines Cascading fault indication factor.

进一步地,采用如下公式表示所述链路风险值:Furthermore, the link risk value is expressed by the following formula:

式中,表示物理链路的链路风险值,表示物理链路的可用率,表示物理节点和物理节点之间的物理链路,表示第k条服务功能链的功能链重要度;In the formula, Indicates the physical link The link risk value is Indicates the physical link The availability rate, Represents a physical node and physical nodes The physical link between represents the function chain importance of the kth service function chain;

采用如下公式表示所述风险路由权重值:The risk routing weight value is expressed by the following formula:

式中,表示物理链路的风险路由权重值,表示物理链路的长度,表示单位长度链路可用率,表示物理链路可承载的最大风险值,表示输电线路中物理链路的链路风险值。In the formula, Indicates the physical link The risk routing weight value is Indicates the physical link Length, represents the link availability per unit length, Indicates the physical link The maximum risk value that can be carried, Indicates transmission line Physical Link The link risk value.

进一步地,采用如下公式表示所述第一目标函数:Furthermore, the first objective function is expressed by the following formula:

式中,表示第k条服务功能链的功能链重要度,K表示服务功能链的总条数,表示物理节点和物理节点之间的物理链路,表示物理链路集合,表示物理链路的风险路由权重值,表示第k条服务功能链中逻辑节点和逻辑节点之间的主逻辑链路是否需要经过物理链路表示第k条服务功能链中逻辑节点和逻辑节点之间的备逻辑链路是否需要经过物理链路表示逻辑节点和逻辑节点之间的逻辑链路,表示第一阈值;In the formula, represents the function chain importance of the kth service function chain, K represents the total number of service function chains, Represents a physical node and physical nodes The physical link between Represents a set of physical links. Indicates the physical link The risk routing weight value is Represents the logical node in the kth service function chain and logical nodes Does the main logical link between the two need to pass through the physical link? , Represents the logical node in the kth service function chain and logical nodes Do the backup logical links between the two need to pass through the physical link? , Represents a logical node and logical nodes The logical link between represents the first threshold;

采用如下公式表示所述第二目标函数:The second objective function is expressed by the following formula:

式中,表示物理链路的状态,表示第k条服务功能链中基于物理链路的状态的中断指示系数;In the formula, Indicates the physical link status, Indicates the kth service function chain based on the physical link The interruption indication coefficient of the state;

采用如下公式表示所述路由优化目标函数:The routing optimization objective function is expressed by the following formula:

式中,表示第二阈值,S表示通信网络的故障矩阵不确定集;In the formula, represents the second threshold, S represents the uncertainty set of the fault matrix of the communication network;

采用如下公式表示所述约束条件:The constraint condition is expressed by the following formula:

式中,表示第m个虚拟网络功能是否部署在物理节点i上,M表示通信网络中虚拟网络功能的集合,表示通信网络中物理节点的集合,表示逻辑节点是否由第m个虚拟网络功能处理,表示第k条服务功能链的逻辑拓扑中的节点集合,表示第k条服务功能链的逻辑拓扑中的链路集合,表示物理链路的可用带宽,表示第k条服务功能链的源节点,表示第k条服务功能链的目的节点,表示第k条服务功能链中逻辑节点和逻辑节点之间的主逻辑链路是否需要经过物理链路表示第k条服务功能链中逻辑节点和逻辑节点之间的备逻辑链路是否需要经过物理链路In the formula, Indicates whether the mth virtual network function is deployed on the physical node i, M represents the set of virtual network functions in the communication network, represents a collection of physical nodes in a communication network, Represents a logical node Whether it is handled by the mth virtual network function, represents the node set in the logical topology of the kth service function chain, represents the set of links in the logical topology of the kth service function chain, Indicates the physical link Available bandwidth, represents the source node of the kth service function chain, represents the destination node of the kth service function chain, Represents the logical node in the kth service function chain and logical nodes Does the main logical link between the two need to pass through the physical link? , Represents the logical node in the kth service function chain and logical nodes Do the backup logical links between the two need to pass through the physical link? .

第二方面,本发明提供了一种基于服务功能链的路由优化系统,所述系统包括:In a second aspect, the present invention provides a route optimization system based on a service function chain, the system comprising:

重要度计算模块,用于根据电力系统的信息物理敏感度和传输线路的级联故障指示系数,计算服务功能链的功能链重要度;An importance calculation module, used to calculate the function chain importance of the service function chain according to the information physical sensitivity of the power system and the cascade fault indication coefficient of the transmission line;

权重值计算模块,用于根据所述功能链重要度和物理链路的可用率,计算物理链路的链路风险值,并根据所述链路风险值和链路长度,计算物理链路的风险路由权重值;A weight value calculation module, used to calculate the link risk value of the physical link according to the importance of the function chain and the availability of the physical link, and to calculate the risk routing weight value of the physical link according to the link risk value and the link length;

路由优化模块,用于根据所述功能链重要度和所述风险路由权重值,建立服务功能链路由优化模型,并对所述服务功能链路由优化模型进行求解,得到电力系统的最优路由策略。The routing optimization module is used to establish a service function chain routing optimization model according to the function chain importance and the risk routing weight value, and solve the service function chain routing optimization model to obtain the optimal routing strategy of the power system.

进一步地,所述重要度计算模块,还用于根据电力系统中信息量和物理量的映射关系,计算电力系统的信息物理敏感度;根据电力系统中输电线路的极限功率接近度和功率波动幅度,计算所述传输线路的级联故障指示系数。Furthermore, the importance calculation module is also used to calculate the information-physical sensitivity of the power system based on the mapping relationship between the information quantity and the physical quantity in the power system; and calculate the cascading fault indication coefficient of the transmission line based on the limit power proximity and power fluctuation amplitude of the transmission line in the power system.

进一步地,所述路由优化模块,还用于将所述风险路由权重值作为路由决策变量的权重值,并根据所述功能链重要度,建立第一目标函数;根据链路故障的不确定变量,确定服务功能链的中断指示系数,并根据所述功能链重要度,建立第二目标函数;根据所述第一目标函数和所述第二目标函数,建立路由优化目标函数;根据服务功能链的虚拟网络功能节点要求、带宽资源要求和选取路由要求,建立所述服务功能链的约束条件;将所述路由优化目标函数和所述约束条件作为服务功能链路由优化模型。Furthermore, the routing optimization module is also used to use the risk routing weight value as the weight value of the routing decision variable, and establish a first objective function based on the importance of the function chain; determine the interruption indication coefficient of the service function chain based on the uncertain variables of the link failure, and establish a second objective function based on the importance of the function chain; establish a routing optimization objective function based on the first objective function and the second objective function; establish constraints of the service function chain based on the virtual network function node requirements, bandwidth resource requirements and routing selection requirements of the service function chain; and use the routing optimization objective function and the constraints as a service function chain routing optimization model.

本发明提供了一种基于服务功能链的路由优化方法和系统。通过所述方法,优先将高重要度SFC分配到低风险值的网络路径中,能够避免高重要度信息集中在网络局部拓扑内,同时在模型中引入不确定性扰动,通过寻找最严重故障场景下的解决方案,提升路由机制的鲁棒性,实现故障场景下的自适应。The present invention provides a method and system for routing optimization based on service function chain. Through the method, high-importance SFCs are preferentially allocated to network paths with low risk values, which can avoid the concentration of high-importance information in the local network topology. At the same time, uncertainty disturbances are introduced into the model, and the robustness of the routing mechanism is improved by finding solutions under the most serious fault scenarios, so as to achieve self-adaptation under fault scenarios.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本发明实施例中基于服务功能链的路由优化方法的流程示意图;1 is a schematic diagram of a flow chart of a route optimization method based on a service function chain in an embodiment of the present invention;

图2是本发明实施例中仿真实验中IEEE 30节点系统的通信网络拓扑图;2 is a communication network topology diagram of an IEEE 30-node system in a simulation experiment according to an embodiment of the present invention;

图3是本发明实施例中仿真实验分析结果中信息可达率对比图;FIG3 is a comparison diagram of information accessibility in simulation experiment analysis results according to an embodiment of the present invention;

图4是本发明实施例中仿真实验分析结果中负载损失率对比图;FIG4 is a comparison diagram of load loss rates in simulation experiment analysis results in an embodiment of the present invention;

图5是本发明实施例中仿真实验分析结果中支路风险值对比图;FIG5 is a comparison diagram of branch risk values in simulation experiment analysis results in an embodiment of the present invention;

图6是本发明实施例中仿真实验分析结果中受阻断SFC的重要度对比图;6 is a comparison diagram of the importance of blocked SFCs in the simulation experiment analysis results according to an embodiment of the present invention;

图7是本发明实施例中基于服务功能链的路由优化系统的结构示意图。FIG. 7 is a schematic diagram of the structure of a route optimization system based on a service function chain in an embodiment of the present invention.

具体实施方式DETAILED DESCRIPTION

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

在对本发明的技术方案进行说明之前,首先对技术方案中涉及到的技术关键词进行说明:Before describing the technical solution of the present invention, the technical keywords involved in the technical solution are first described:

NFV:Network Function Virtualization,网络功能虚拟化;NFV: Network Function Virtualization;

SFC:Service Function Chain,服务功能链;SFC: Service Function Chain, service function chain;

VNF:Virtualized Network Function,虚拟网络功能;VNF: Virtualized Network Function, virtual network function;

CFI:Cascading Failure Index,联故障指示系数;CFI: Cascading Failure Index, Cascading Failure Index;

SFC-RS:SFC-Routing Strategy,服务功能链的路由策略;SFC-RS: SFC-Routing Strategy, routing strategy of service function chain;

SPRM:Shortest-Path Routing Model,最短路径路由算法。SPRM: Shortest-Path Routing Model, shortest path routing algorithm.

请参阅图1,本发明第一实施例提出的一种基于服务功能链的路由优化方法,其中,包括步骤S10~S30:Please refer to FIG. 1 , which shows a route optimization method based on a service function chain according to a first embodiment of the present invention, wherein the method comprises steps S10 to S30:

步骤S10,根据电力系统的信息物理敏感度和传输线路的级联故障指示系数,计算服务功能链的功能链重要度;Step S10, calculating the function chain importance of the service function chain according to the information physical sensitivity of the power system and the cascade fault indication coefficient of the transmission line;

步骤S20,根据所述功能链重要度和物理链路的可用率,计算物理链路的链路风险值,并根据所述链路风险值和链路长度,计算物理链路的风险路由权重值;Step S20, calculating the link risk value of the physical link according to the importance of the function chain and the availability of the physical link, and calculating the risk routing weight value of the physical link according to the link risk value and the link length;

步骤S30,根据所述功能链重要度和所述风险路由权重值,建立服务功能链路由优化模型,并对所述服务功能链路由优化模型进行求解,得到电力系统的最优路由策略。Step S30, establishing a service function chain routing optimization model according to the function chain importance and the risk routing weight value, and solving the service function chain routing optimization model to obtain an optimal routing strategy for the power system.

本发明的技术方案应用于新型电力系统中,新型电力系统是一种典型的信息物理耦合系统,可以划分为电力网络和通信网络两个层级,电网的节点和输电线路与通信网的通信节点和链路是两类不同但位于同一空间位置的实体,分别归属于电网和通信网,其中,电网可以描述为由节点和线路构成的图The technical solution of the present invention is applied to a new type of power system. The new type of power system is a typical cyber-physical coupling system, which can be divided into two levels: power network and communication network. The nodes and transmission lines of the power grid and the communication nodes and links of the communication network are two different entities located in the same spatial position, belonging to the power grid and the communication network respectively. The power grid can be described as a network composed of nodes. and lines The composition of the picture .

通信网络主要反映了信息控制系统从本地量测到控制中心决策的反馈过程,所关注的信息流不是本地保护控制的闭环反馈,而是需要考虑通信网络节点、支路特性的“网络流”。在网络功能虚拟化NFV网络中,通信层包含物理拓扑网络和表征服务功能链SFC请求的逻辑拓扑网络。物理拓扑网络由无向图定义,分别表示通信网络中的实体节点集合和链路集合,表示任意两个物理节点,表示节点之间的物理链路;的逻辑拓扑网络由有向图定义,其中,表示第k条SFC,分别表示逻辑拓扑中节点集合和链路集合,表示任意两个逻辑节点,表示两个节点间的逻辑链路。The communication network mainly reflects the feedback process of the information control system from local measurement to the decision-making of the control center. The information flow of concern is not the closed-loop feedback of local protection control, but the "network flow" that needs to consider the characteristics of communication network nodes and branches. In the network function virtualization NFV network, the communication layer includes the physical topology network and the logical topology network that represents the service function chain SFC request. The physical topology network consists of an undirected graph definition, and They represent the set of entity nodes and the set of links in the communication network respectively. Represents any two physical nodes, Representation Node and The physical link between The logical topology network consists of a directed graph Definition, where represents the kth SFC, and Respectively The set of nodes and links in the logical topology, Represents any two logical nodes, Represents a logical link between two nodes.

一个的逻辑链路由入口节点、出口节点以及若干个虚拟网络功能VNF组成。VNF被部署在NFV上,即对应为通信网络的物理节点。由于在形成特定网络服务时应包含的虚拟功能尚未标准化,因此,本发明采用以下的通用表达式来表示功能链及其组成的VNF:one The logical link is composed of an ingress node, an egress node, and several virtual network functions VNF. VNF is deployed on NFV, which corresponds to the physical node of the communication network. Since the virtual functions that should be included in the formation of a specific network service have not yet been standardized, the present invention uses the following general expression to represent the function chain and its constituent VNFs:

定义为通信网络中VNF的集合,表示第m个NVF,。对于通信网络中任意,将其定义为:definition is the collection of VNFs in the communication network, represents the mth NVF, For any communication network , which is defined as:

其中,为该的长度,即该SFC中VNF的个数,为该的第个VNF。in, For The length of is the number of VNFs in the SFC. For No. VNFs.

当电网发生故障后,紧急控制业务受阻的厂站不能及时对已发生的故障做出前馈控制,将会扩大故障规模从而引发级联故障。而引发级联故障的可能性直接反映了承载相应信息的服务功能链SFC的重要度,在本发明提供的一个优选的实施例中,SFC的重要度是基于电力系统的信息物理敏感度和传输线路的级联故障指示系数计算得到,其具体计算步骤包括:When a power grid fails, the plant and station whose emergency control service is blocked cannot make feedforward control of the fault in time, which will expand the scale of the fault and cause cascading failure. The possibility of causing cascading failure directly reflects the importance of the service function chain SFC that carries the corresponding information. In a preferred embodiment provided by the present invention, the importance of SFC is calculated based on the information physical sensitivity of the power system and the cascading fault indication coefficient of the transmission line. The specific calculation steps include:

根据电力系统中信息量和物理量的映射关系,计算电力系统的信息物理敏感度;According to the mapping relationship between information quantity and physical quantity in the power system, the information-physical sensitivity of the power system is calculated;

根据电力系统中输电线路的极限功率接近度和功率波动幅度,计算所述传输线路的级联故障指示系数。According to the limit power proximity and power fluctuation amplitude of the transmission line in the power system, the cascading fault indication coefficient of the transmission line is calculated.

考虑到当前数字化发展趋势下电力系统与通信系统的深度耦合,由通信故障引发级联故障的过程实际上属于信息物理交互过程,为量化这些受阻断的SFC在电力系统中的影响,本实施例采用了信息物理敏感度分析方法,用于表征信息流对物理状态变量的影响。具体的,信息物理敏感度可以由信息量对物理量的变化的映射关系得到:Considering the deep coupling between power system and communication system under the current trend of digital development, the process of cascading failure caused by communication failure is actually a cyber-physical interaction process. In order to quantify the impact of these blocked SFCs on the power system, this embodiment adopts a cyber-physical sensitivity analysis method to characterize the impact of information flow on physical state variables. Specifically, cyber-physical sensitivity can be obtained by the mapping relationship between information quantity and physical quantity change:

式中,为第个控制周期的物理状态变量的向量,为信息变量的向量,为物理侧控制变量的向量,为信息侧控制变量的向量,为信息变量对于物理状态变量的敏感度,为控制关系矩阵,为从测量变量到控制变量的优化函数映射。In the formula, For the The vector of physical state variables for each control cycle, is the vector of information variables, is the vector of physical side control variables, is the vector of information side control variables, is the sensitivity of the information variable to the physical state variable, To control the relationship matrix, is the optimization function mapping from measured variables to controlled variables.

由于信息物理交互过程中物理状态变量自身的重要度也存在差异,因此计算SFC的重要度应同时考虑信息物理敏感度以及物理状态变量自身的重要度。因此,本实施例通过定义级联故障指示系数CFI来衡量受信息故障影响的电力系统中各支路发生级联故障的风险,以此来描述物理状态变量自身的重要度。Since the importance of the physical state variables themselves also varies during the cyber-physical interaction process, the importance of calculating the SFC should consider both the cyber-physical sensitivity and the importance of the physical state variables themselves. Therefore, this embodiment defines the cascading fault indication coefficient CFI to measure the risk of cascading failures in each branch of the power system affected by the information fault, so as to describe the importance of the physical state variables themselves.

在电网已发生故障且紧急控制业务丢失的情况下,系统内的负荷转移将造成部分线路的过负荷。由于各输电线路的功率传输极限不同,传输极限较低的线路并不一定因为分担失效线路上的功率而发生过载,相反,一些功率传输极限较高但重载的线路反而更易出现故障。因此,可以通过计算故障前线路传输功率相较于线路传输极限的逼近程度来衡量线路的潜在故障风险。When a power grid failure occurs and emergency control services are lost, load transfer within the system will cause overloads on some lines. Since the power transmission limits of each transmission line are different, lines with lower transmission limits are not necessarily overloaded because they share the power of the failed line. On the contrary, some lines with higher power transmission limits but heavy loads are more prone to failure. Therefore, the potential failure risk of a line can be measured by calculating the degree of proximity of the line transmission power before the failure to the line transmission limit.

将输电线路正常传输时功率相较于线路传输极限的逼近程度也即极限功率接近度记为Transmission lines The degree of approach of the power to the line transmission limit during normal transmission, i.e., the limit power proximity, is recorded as :

式中,表示故障前输电线路流过的功率,表示输电线路的基准功率值,表示输电线路的功率传输极限,表示输电线路总数。In the formula, Indicates the transmission line before the fault The power flowing through Indicates transmission line The reference power value, Indicates transmission line The power transfer limit is Represents the total number of transmission lines.

故障发生后失效线路的功率会重新分配在网络中,记为输电线路潮流重新分配后的功率波动幅度:After a fault occurs, the power of the failed line will be redistributed in the network. For transmission lines Power fluctuation range after power flow redistribution:

式中,表示输电线路故障后输电线路上引起的功率波动,其表达式为:In the formula, Indicates transmission line Transmission line after fault The power fluctuation caused by

其中,为支路开断分布因子,为发电机传输功率转移分布因子,为故障前线路上流过的功率;为受阻目的节点处功率的绝对值。in, is the branch breaking distribution factor, is the generator transmission power transfer distribution factor, Before the fault The power flowing through To be hindered The absolute value of the power at the destination node.

在得到上述两种参数之后,输电线路的级联故障指示系数可以定义为:After obtaining the above two parameters, the transmission line Cascading fault indication factor It can be defined as:

其中,为均衡因子。in, is the balancing factor.

通过综合线路功率在故障前后的指标,能够反映出信息物理耦合故障发生后正常线路发生级联故障的可能性,越大表明该线路越易发生级联故障,也即本发明使用CFI来衡量物理状态变量自身的重要度。By integrating the indicators of line power before and after the fault, It can reflect the possibility of cascading failures in normal lines after an information-physical coupling failure occurs. The larger the value, the more likely the line is to have a cascading failure. That is, the present invention uses CFI to measure the importance of the physical state variable itself.

在计算出信息物理敏感度以及物理状态变量自身的重要度之后,的重要度也即功能链重要度则可以定义为:After calculating the physical sensitivity of the information and the importance of the physical state variables themselves, The importance of function chain can be defined as:

式中,表示第k条服务功能链的功能链重要度,表示第k条服务功能链的信息物理敏感度,表示故障场景发生的概率,电力通信网络的故障场景可表示为,S表示通信网络的故障矩阵不确定集,表示发生故障场景的输电线路的级联故障指示系数。In the formula, represents the function chain importance of the kth service function chain, represents the information-physical sensitivity of the kth service function chain, Indicates the fault scenario The probability of occurrence, the failure scenario of the power communication network can be expressed as , S represents the uncertainty set of the fault matrix of the communication network, Indicates a failure scenario Transmission lines Cascading fault indication factor.

目前,传统的风险均衡策略是依据信息业务的S类型来划分重要,其中,表示物理链路是否发生了故障,但是这种方法忽略了一个事实,即归属于相同业务类型的信息也具有不同的重要度。因为电网实际运行中不同节点对电力系统的重要性不同,这些节点的信息流重要度也随之出现差异。因此本发明基于上述的SFC重要度提出了一种更具针对性的风险均衡策略,并将其应用于SFC路由策略中。At present, the traditional risk balance strategy is to divide the information business into S types, among which: , Indicates the physical link Whether a failure has occurred, but this method ignores the fact that information belonging to the same business type also has different importance. Because the importance of different nodes to the power system in actual power grid operation is different, the importance of information flows of these nodes also differs. Therefore, the present invention proposes a more targeted risk balancing strategy based on the above-mentioned SFC importance, and applies it to the SFC routing strategy.

传统风险均衡策略将链路的风险定义为业务重要度与链路失效率的乘积,在本实施例中,为精准识别同一业务类型下的不同信息,采用了SFC重要度来替换依据业务类型划分的重要度,因此,改进的链路风险值可以被定义为:Traditional risk balancing strategies link The risk is defined as the product of the service importance and the link failure rate. In this embodiment, in order to accurately identify different information under the same service type, the SFC importance is used to replace the importance divided according to the service type. Therefore, the improved link risk value can be defined as:

式中,为长度为的物理链路的可用率,当物理链路上承载多个SFC时,其风险值为各SFC风险值的累加:In the formula, The length is Physical link When a physical link carries multiple SFCs, its risk value is the sum of the risk values of each SFC:

进一步地,本实施例将链路风险值构建为权值的形式,因此链路的风险路由权重值被定义为:Furthermore, in this embodiment, the link risk value is constructed in the form of a weight, so the link Risk routing weight value is defined as:

式中,表示物理链路的风险路由权重值,表示物理链路的长度,表示单位长度链路可用率,表示物理链路可承载的最大风险值,表示输电线路中物理链路的链路风险值。In the formula, Indicates the physical link The risk routing weight value is Indicates the physical link Length, represents the link availability per unit length, Indicates the physical link The maximum risk value that can be carried, Indicates transmission line Physical Link The link risk value.

当链路的风险值增大时相应的权值将显著增大,因此,通过风险路由权重值能够灵敏地反映出线路状态的变化情况。When the risk value of the link increases, the corresponding weight will increase significantly. Therefore, the risk routing weight value can sensitively reflect the changes in the line status.

与传统网络一样,网络功能虚拟化NFV网络同样面临着信息传输的可靠性问题,由于虚拟网络功能VNF通过软件执行在虚拟化平台上,与专用硬件相比这样的形式存在更高的故障风险。保证可靠性的有效方法是为SFC提供冗余备份,当主VNF实例失效时,备份将被激活。因此,本发明提出了一种服务功能链的路由策略SFC-RS,通过考虑SFC的主、备路由可靠部署以及网络风险均衡的联合问题,并引入故障场景不确定性的影响,对电力系统级联故障影响的电力通信服务功能链的路由策略进行优化,以达到在提升信息传输鲁棒性的同时减少高重要度信息在网络局部拓扑内的集中分布的目的,从而避免因通信业务受阻而导致单一故障恶化为级联故障的情况发生。Like traditional networks, network function virtualization NFV networks also face the problem of information transmission reliability. Since virtual network functions VNFs are executed on virtualized platforms through software, this form has a higher risk of failure compared to dedicated hardware. An effective way to ensure reliability is to provide redundant backup for SFC. When the main VNF instance fails, the backup will be activated. Therefore, the present invention proposes a routing strategy SFC-RS for the service function chain. By considering the joint problem of reliable deployment of the main and backup routes of SFC and network risk balance, and introducing the influence of uncertainty in fault scenarios, the routing strategy of the power communication service function chain affected by cascading failures of the power system is optimized, so as to achieve the purpose of reducing the centralized distribution of high-importance information in the local topology of the network while improving the robustness of information transmission, thereby avoiding the situation where a single failure deteriorates into a cascading failure due to obstruction of communication services.

在本实施例中,通过构建服务功能链路由优化模型,来得到考虑级联故障影响和风险均衡策略的最优路由策略,其路由优化模型的具体构建步骤包括:In this embodiment, by constructing a service function chain routing optimization model, an optimal routing strategy that considers the impact of cascading failures and risk balancing strategy is obtained. The specific steps of constructing the routing optimization model include:

将所述风险路由权重值作为路由决策变量的权重值,并根据所述功能链重要度,建立第一目标函数;Using the risk routing weight value as the weight value of the routing decision variable, and establishing a first objective function according to the function chain importance;

根据链路故障的不确定变量,确定服务功能链的中断指示系数,并根据所述功能链重要度,建立第二目标函数;Determine the interruption indication coefficient of the service function chain according to the uncertain variable of the link failure, and establish a second objective function according to the importance of the function chain;

根据所述第一目标函数和所述第二目标函数,建立路由优化目标函数;Establishing a routing optimization objective function according to the first objective function and the second objective function;

根据服务功能链的虚拟网络功能节点要求、带宽资源要求和选取路由要求,建立所述服务功能链的约束条件;Establishing constraints of the service function chain according to the virtual network function node requirements, bandwidth resource requirements and routing selection requirements of the service function chain;

将所述路由优化目标函数和所述约束条件作为服务功能链路由优化模型。The routing optimization objective function and the constraint conditions are used as a service function chain routing optimization model.

在本实施例中,首先将引入改进风险均衡策略的SFC路由部署建模为数学优化问题,基于上述用于表示功能链及其组成的VNF的通用表达式的模型结构,定义了二进制变量来表示第m个虚拟网络功能是否部署在物理节点i上,值为1时表示部署在物理节点上,否则为0;同时还定义了二进制变量来表示逻辑节点是否由第m个虚拟网络功能处理,取值为1时表示逻辑节点处理,否则为0;此外,还定义了定义二进制变量,分别表示的主、备逻辑链路是否需要经过物理链路,需要时值取1,否则为0。In this embodiment, the SFC routing deployment with the improved risk balancing strategy is first modeled as a mathematical optimization problem. Based on the model structure of the general expression for representing the function chain and its constituent VNFs, a binary variable is defined. To represent the mth virtual network function Whether it is deployed on physical node i. When the value is 1, it indicates Deployed on physical nodes Otherwise, it is 0; binary variables are also defined To represent the logical node Whether the mth virtual network function Processing, when the value is 1, it indicates a logical node Depend on Processing, otherwise 0; In addition, the definition of binary variables and , respectively Primary and backup logical links Whether a physical link is required , the value is 1 when needed, otherwise it is 0.

为了实现风险均衡,在本实施例中,将风险路由权重值作为决策变量的权重,并根据网络状态的动态更新,来反映虚拟链路承载关系,从而构建第一目标函数为:In order to achieve risk balance, in this embodiment, the risk routing weight value As decision variables and The weight of the virtual link is dynamically updated according to the network status. The carrying relationship is constructed to construct the first objective function as follows:

式中,K表示服务功能链SFC的总条数,表示第一阈值,在此,被定义为一个微小值,用于保障目标函数优先对主路由进行决策。In the formula, K represents the total number of service function chains SFC, represents the first threshold, where It is defined as a small value to ensure that the objective function prioritizes the main route.

考虑到故障的不确定性影响,本实施例还引入了链路故障的不确定场景集,以此作为不确定性因素来提升信息传输鲁棒性,因此,第二目标函数被定义为:Considering the uncertain impact of failures, this embodiment also introduces an uncertain scenario set of link failures as an uncertainty factor to improve the robustness of information transmission. Therefore, the second objective function is defined as:

式中,表示物理链路的状态,表示第k条服务功能链中基于物理链路的状态的中断指示系数,中断时为1,否则为0,的值取决于不确定变量In the formula, Indicates the physical link status, Indicates the kth service function chain based on the physical link The interruption indication coefficient of the state is 1 when interrupted, otherwise it is 0. The value of depends on the uncertain variable :

具体的,不确定变量表示物理链路的状态,值为1时表示该链路中断,否则为0,每一种故障场景都对应一组特定的;辅助变量分别用于表示的主、备路由是否中断,中断时为1,否则为0;是一个足够大的值。Specific, uncertain variables Indicates the physical link The status of the link is 1, otherwise it is 0. Each fault scenario corresponds to a specific set of ; Auxiliary variables and Used to represent Whether the primary and backup routes are interrupted, 1 if interrupted, otherwise 0; is a sufficiently large value.

基于上述两个目标函数,可以将本发明提出的SFC-RC路由策略构建为一个两阶段鲁棒优化问题,其目标函数则可以表示为:Based on the above two objective functions, the SFC-RC routing strategy proposed in the present invention can be constructed as a two-stage robust optimization problem, and its objective function can be expressed as:

式中,表示第二阈值,S表示通信网络的故障矩阵不确定集,在此,被定义为一个微小值,用于优先保障鲁棒性目标。In the formula, represents the second threshold, S represents the uncertainty set of the fault matrix of the communication network, here, It is defined as a small value to prioritize the robustness goal.

进一步地,根据NFC网络的节点、带宽资源以及选取路由等要求,还需要对SFC进行约束,其约束条件的构建步骤包括:Furthermore, according to the requirements of the NFC network nodes, bandwidth resources, and route selection, the SFC needs to be constrained. The steps for constructing the constraint conditions include:

根据服务功能链中虚拟网络功能的节点部署唯一性,建立节点约束条件;Establish node constraints based on the uniqueness of node deployment of virtual network functions in the service function chain;

根据服务功能链的带宽资源最大值,建立带宽资源约束条件;Establish bandwidth resource constraint conditions based on the maximum bandwidth resource of the service function chain;

根据服务功能链中所选取路由的节点访问顺序要求,建立访问顺序约束条件;Establish access sequence constraints based on the node access sequence requirements of the selected routes in the service function chain;

根据服务功能链中所选取路由的网络拓扑要求,建立路由拓扑约束条件。Establish routing topology constraints based on the network topology requirements of the routes selected in the service function chain.

在本实施例中,基于电力系统的网络功能虚拟化NFC网络,每个VNF都应当唯一地部署在一个物理节点上,并且在中每个VNF至多对应一个逻辑节点,基于此要求构建的节点约束条件可以表示为:In this embodiment, based on the network function virtualization NFC network of the power system, each VNF should be uniquely deployed on a physical node and Each VNF corresponds to at most one logical node. The node constraint condition based on this requirement can be expressed as:

式中,表示第m个虚拟网络功能是否部署在物理节点i上,M表示通信网络中虚拟网络功能VNF的集合,表示通信网络中物理节点的集合,表示逻辑节点是否由第m个虚拟网络功能处理,表示第k条服务功能链的逻辑拓扑中的节点集合。In the formula, Indicates the mth virtual network function Whether it is deployed on physical node i, M represents the set of virtual network functions VNF in the communication network, represents a collection of physical nodes in a communication network, Represents a logical node Whether the mth virtual network function deal with, Represents the kth service function chain A collection of nodes in a logical topology.

对于物理链路,SFC占用的带宽资源不能超过其可用带宽:,因此,带宽资源约束条件可以表示为:For physical links ,The bandwidth resources occupied by SFC cannot exceed its available bandwidth: ,Therefore, the bandwidth resource constraint can be expressed as:

式中,表示物理链路的可用带宽。In the formula, Indicates the physical link of available bandwidth.

对于每个,需保证选取的路径按照特定顺序访问所包含的VNF,因此,访问顺序约束条件可以定义为:For each , it is necessary to ensure that the selected path accesses the included VNFs in a specific order. Therefore, the access order constraint can be defined as:

以主逻辑路由为例,为1时表示信息流自虚拟节点流向虚拟节点,在该约束中,当路径被选中,则这段路径的起始节点所对应的VNF先被访问,而只有节点作为下一段路径的起始节点时才会被访问,因此当一段路径确定后总能保证该段路径的起始节点是先被访问的,以此来确保VNF的访问顺序。Take the main logical routing as an example. When it is 1, it means that the information flows from the virtual node Flow to virtual node , in this constraint, when the path is selected, the starting node of this path The corresponding VNF is accessed first, and only the node As the next path Therefore, when a path is determined, it can always be guaranteed that the starting node of the path is visited first, so as to ensure the access order of VNF.

除此之外,还应确保被选中的物理链路在网络拓扑中首尾相连,并且SFC的主、备路径不应重合,因此,路由拓扑约束条件可以定义为:In addition, it should be ensured that the selected physical links are connected end to end in the network topology, and the primary and backup paths of the SFC should not overlap. Therefore, the routing topology constraints can be defined as:

式中,表示第k条服务功能链的目的节点,表示第k条服务功能链中逻辑节点和逻辑节点之间的主逻辑链路是否需要经过物理链路表示第k条服务功能链中逻辑节点和逻辑节点之间的备逻辑链路是否需要经过物理链路In the formula, represents the destination node of the kth service function chain, Represents the logical node in the kth service function chain and logical nodes Does the main logical link between the two need to pass through the physical link? , Represents the logical node in the kth service function chain and logical nodes Do the backup logical links between the two need to pass through the physical link? .

关于保证链路收尾相连的约束,对于源节点,其发出的信息流只有出度而无入度,对于信息流k,其在源节点的出度为1;同理,在目的节点,信息流只有入度而无出度,其出度为-1;对于之间节点,出度=入度,因此取值为0。当信息的流通按照节点类型满足各自出入度要求时,信息流经过的各段链路自然收尾相连,从而构成一条自的完整路径。Regarding the constraints to ensure that the link ends and is connected, for the source node , the information flow it sends has only out-degree but no in-degree. For information flow k, its out-degree at the source node is 1; similarly, at the destination node , the information flow has only in-degree but no out-degree, and its out-degree is -1; for the intermediate nodes, the out-degree = in-degree, so the value is 0. When the information flow meets the in-degree requirements of each node type, the links through which the information flow passes are naturally connected, thus forming a self- arrive The full path of .

将以上约束条件作为目标函数的约束条件,就可以得到完整的服务功能链路由优化模型,继而使用求解器对该路由优化模型进行求解,就可以得到决策变量的最优值,也即得到电力系统的最优路由策略。具体的求解过程可以参考常规的模型求解过程,在此将不再重复说明。By using the above constraints as the constraints of the objective function, we can get a complete service function chain routing optimization model. Then, by using the solver to solve the routing optimization model, we can get the optimal value of the decision variable, that is, the optimal routing strategy of the power system. The specific solution process can refer to the conventional model solution process, which will not be repeated here.

本发明提供的服务功能链的路由策略SFC-RS依据改进的风险均衡策略和网络变化对权值进行动态更新,优先将高重要度SFC分配到低风险值的网络路径中,避免了高重要度信息集中在网络局部拓扑内,同时在模型中引入不确定性扰动,通过寻找最严重故障场景下的解决方案提升了路由机制的鲁棒性,实现了故障场景下的自适应。The routing strategy SFC-RS of the service function chain provided by the present invention dynamically updates the weights according to the improved risk balancing strategy and network changes, and preferentially allocates high-importance SFCs to network paths with low risk values, thereby avoiding the concentration of high-importance information in the local topology of the network. At the same time, uncertain disturbances are introduced into the model, and the robustness of the routing mechanism is improved by finding solutions to the most serious fault scenarios, thereby achieving self-adaptation under fault scenarios.

下面通过仿真实验对本发明提供的路由优化方法的效果进行验证,在仿真实验中,将本发明提出的路由优化方法应用于IEEE 30节点系统以及与其对应的通信网络中,并对仿真结果进行分析。具体的,根据IEEE 30节点系统的结构,该系统的通信网拓扑结构如图2所示,其中IEEE 30节点系统包括n个节点,以1至30分别进行表示,其对应的通信网络拓扑结构的节点个数为21,以S1至S20以及CC进行表示,依据网络的联通性,选取节点度最高的节点CC作为控制主站。使用Python 3.7.0在一台搭载AMD Ryzen 7 5800H处理器和16GB内存的笔记本电脑上进行仿真,调用Gurobi 9.5.2求解优化问题。求解器的收敛阈值和微小值均设为。网络中的VNF种类设定为4种,SFC的长度随机分布在2至4之间,相同类型的VNF在各SFC中只生成一次,链路带宽设为30。由于SFC-RS的主要目标是通过对SFC路径的调控来影响电力系统的运行,因此此处不考虑通信延迟问题,允许VNF预先部署于通信节点上,表示共享通信基础设施的使用场景。The effect of the routing optimization method provided by the present invention is verified by simulation experiments. In the simulation experiments, the routing optimization method proposed by the present invention is applied to the IEEE 30-node system and the corresponding communication network, and the simulation results are analyzed. Specifically, according to the structure of the IEEE 30-node system, the communication network topology of the system is shown in Figure 2, wherein the IEEE 30-node system includes n nodes, represented by 1 to 30 respectively, and the number of nodes in the corresponding communication network topology is 21, represented by S1 to S20 and CC. According to the connectivity of the network, the node CC with the highest node degree is selected as the control master station. Use Python 3.7.0 to perform simulation on a laptop equipped with an AMD Ryzen 7 5800H processor and 16GB of memory, and call Gurobi 9.5.2 to solve the optimization problem. Convergence threshold of the solver and small values Set to There are 4 types of VNFs in the network, the length of SFC is randomly distributed between 2 and 4, the same type of VNF is generated only once in each SFC, and the link bandwidth is set to 30. Since the main goal of SFC-RS is to affect the operation of the power system by regulating the SFC path, the communication delay problem is not considered here, and VNFs are allowed to be pre-deployed on communication nodes, which represents the usage scenario of shared communication infrastructure.

根据相关标准要求,生产实施控制业务要满足N-2的规划目标,本实验中将电力通信网络故障预设为N-2故障,电网故障预设为N-1故障。当承载SFC主、备路径的物理链路均中断时,该SFC传输受阻。在实际电网运行中,现有的紧急控制业务路由优化主要是基于最短路径模型根据运行人员的经验人为设计的。因此本实验是对在IEEE 30节点系统中应用最短路径路由算法SPRM与本发明提供的服务功能链的路由策略SFC-RS的效果进行比对。According to the requirements of relevant standards, the production implementation control service must meet the planning target of N-2. In this experiment, the power communication network failure is preset as N-2 failure, and the power grid failure is preset as N-1 failure. When the physical links carrying the SFC main and backup paths are interrupted, the SFC transmission is blocked. In actual power grid operation, the existing emergency control service routing optimization is mainly based on the shortest path model and is manually designed according to the experience of the operating personnel. Therefore, this experiment compares the effect of applying the shortest path routing algorithm SPRM in the IEEE 30-node system and the routing strategy SFC-RS of the service function chain provided by the present invention.

图3展示了两种方法应对通信系统N-2故障时的信息传输可达率。分析图3可知,在最严重的故障场景下SFC-RS有3处节点失联,SPRM的最大失联节点数达到5个。应对N-2故障时SFC-RS只在三个场景下达到最大节点失联数,其余场景失联的节点均不超过2个,远小于SPRM发生两节点以上失联的场景次数。此外,当被阻断的SFC超过3条,即失联节点数大于3时,将导致该系统内至少15%的控制业务失效,应用SPRM时,若4和8同时故障、7和16同时故障或11和16同时故障,业务中断率将高达25%,严重威胁电力系统的安全稳定运行。Figure 3 shows the information transmission reachability of the two methods in response to the N-2 failure of the communication system. Analysis of Figure 3 shows that in the most serious fault scenario, SFC-RS has 3 nodes disconnected, and the maximum number of disconnected nodes of SPRM reaches 5. When dealing with N-2 faults, SFC-RS only reaches the maximum number of node disconnections in three scenarios, and the number of disconnected nodes in the remaining scenarios does not exceed 2, which is much less than the number of scenarios in which SPRM loses more than two nodes. In addition, when more than 3 SFCs are blocked, that is, the number of disconnected nodes is greater than 3, at least 15% of the control services in the system will fail. When SPRM is applied, if 4 and 8 fail at the same time, 7 and 16 fail at the same time, or 11 and 16 fail at the same time, the service interruption rate will be as high as 25%, which seriously threatens the safe and stable operation of the power system.

图4中展示了两种方法在应对通信系统N-2故障时的负载损失率,应用SFC-RS时的平均值和最大值均低于SPRM。从信息可达率以及负载损失率的效果可以看出SFC-RS有效提升了系统的鲁棒性。Figure 4 shows the load loss rates of the two methods when dealing with the N-2 failure of the communication system. The average and maximum values when SFC-RS is applied are lower than those of SPRM. From the effects of information reachability and load loss rate, it can be seen that SFC-RS effectively improves the robustness of the system.

图5展示了IEEE 30节点通信网络拓扑中应用两种算法时各条物理链路所承载的SFC风险分布情况。对比图5中的(a)和图5中的(b)发现,采用SPRM时信息主要集中于链路7和8,且链路8的风险值远高于其他链路,这是由于SPRM优先选取开销最小的路径,从而使信息汇集在最短的路径上,导致SFC的分布过于集中。相比之下,由于SFC-RS将风险路由权值作为权重,并且在为前一个SFC分配路径后会动态更新网络中的风险权值,为新的SFC分配路径时会寻找风险权值最小的路径,而非开销最小的路径,避免了信息集中分布于网络的局部区域或某条线路上。Figure 5 shows the SFC risk distribution of each physical link when two algorithms are applied in the IEEE 30-node communication network topology. Comparing Figure 5 (a) and Figure 5 (b), it is found that when SPRM is used, the information is mainly concentrated on links 7 and 8, and the risk value of link 8 is much higher than that of other links. This is because SPRM preferentially selects the path with the smallest cost, so that the information is gathered on the shortest path, resulting in too concentrated distribution of SFC. In contrast, since SFC-RS uses the risk routing weight as the weight and dynamically updates the risk weight in the network after allocating a path to the previous SFC, it will look for the path with the smallest risk weight when allocating a path to the new SFC, rather than the path with the smallest cost, to avoid the information being concentrated in a local area or a certain line of the network.

但相比图5中的(b)而言,图5中的(a)的网络整体风险值略高,这是因为SFC-RS本质上也是一类最短路径算法,不同的是该方法寻求的是最小链路风险,这就导致了单个SFC-RS分配的路径要长于应用SPRM时的路径,从而导致整体风险值升高。但SFC-RS的初衷是通过对信息侧的有效调节来降低因通信故障导致电网侧单一故障恶化为级联故障的可能性,就此目标而言局部区域或单一线路的风险值过高较之于网络整体风险的略微升高是更危险的,若发生信息故障将会给系统带来严重影响。SFC-RS降低了局部区域或线路的风险值,也就是说本发明的算法以略微提升网络平均风险为代价来换取通信的鲁棒性和网络风险分布的均衡性,避免了单点风险值显著升高而在信息故障发生后诱发更严重的后果,从实际效果来看这样的牺牲是非常值得的,图5中的(c)与图5中的(d)的对比更加印证了这一事实。However, compared with (b) in FIG. 5 , the overall network risk value of (a) in FIG. 5 is slightly higher. This is because SFC-RS is essentially also a type of shortest path algorithm. The difference is that this method seeks the minimum link risk, which results in a single SFC-RS allocated path being longer than the path when SPRM is applied, thereby increasing the overall risk value. However, the original intention of SFC-RS is to reduce the possibility of a single fault on the power grid side deteriorating into a cascading fault due to a communication fault by effectively regulating the information side. For this goal, the excessively high risk value of a local area or a single line is more dangerous than a slight increase in the overall risk of the network. If an information fault occurs, it will have a serious impact on the system. SFC-RS reduces the risk value of a local area or line, that is, the algorithm of the present invention slightly increases the average risk of the network in exchange for the robustness of communication and the balance of network risk distribution, avoiding a significant increase in the risk value of a single point and inducing more serious consequences after an information fault occurs. From the actual effect, such a sacrifice is very worthwhile. The comparison between (c) in FIG. 5 and (d) in FIG. 5 further confirms this fact.

为验证SFC-RS在电力系统中降低级联故障概率的效果,结合应用背景本发明借用信息熵概念提出了加权故障风险熵对优化效果进行评价。In order to verify the effect of SFC-RS in reducing the probability of cascading failures in power systems, combined with the application background, the present invention borrows the concept of information entropy and proposes a weighted fault risk entropy to evaluate the optimization effect.

计算N-2故障场景下被阻断SFC的重要度之和,同时给定受阻断的SFC重要度序列,用表示重要度的故障场景个数,则重要度处于区间的概率为:Calculate the sum of the importance of the blocked SFCs under the N-2 fault scenario, and give the importance sequence of the blocked SFCs ,use Indicates importance The number of fault scenarios is in the range Probability for:

进而定义加权风险分布熵为:Then the weighted risk distribution entropy is defined as:

其中,为重要度的所有场景的平均重要度值,假设包含种故障场景,Imn表示第n中故障场景下的重要度,则:in, For importance The average importance value of all scenes, assuming Include There are several fault scenarios, and I mn represents the importance of the nth fault scenario. Then:

根据熵值的定义,当系统内的高危场景越少时对应熵值越小,即表明系统内引发级联故障的概率越低。According to the definition of entropy, the fewer high-risk scenarios there are in the system, the smaller the corresponding entropy value is, which means that the probability of causing cascading failures in the system is lower.

选取被阻断的SFC,其重要度序列为,通过遍历IEEE30节点系统的N-2故障场景,统计出在这些故障场景下两种方法各自被阻断的SFC所对应的重要度值,如图6所示。从图中可知,由于考虑了信息传输的鲁棒性以及改进了风险均衡的效果,应用SFC-RS时被阻断的SFC,其重要度远少于应用SPRM的情况。Select the blocked SFC, and its importance sequence is ,By traversing the N-2 fault scenarios of the IEEE30-node system, the importance values corresponding to the blocked SFCs of the two methods in these fault scenarios are counted, as shown in Figure 6. As can be seen from the figure, due to the consideration of the robustness of information transmission and the improvement of risk balance, the importance of the blocked SFCs when applying SFC-RS is much less than that when applying SPRM.

采用加权风险分布熵计算这些数据,经计算可知SFC-RS的熵值为495.057,远小于SPRM的熵值601.126,这表明在相同的条件下SFC-RS能够有效降低系统内因通信故障导致紧急控制业务受阻而引发级联故障的风险,从而证实了SFC-RS能够有效实现本发明所提目标。The weighted risk distribution entropy is used to calculate these data. It can be seen that the entropy value of SFC-RS is 495.057, which is much smaller than the entropy value of SPRM 601.126. This shows that under the same conditions, SFC-RS can effectively reduce the risk of cascading failures caused by the obstruction of emergency control services due to communication failures in the system, thereby proving that SFC-RS can effectively achieve the objectives of the present invention.

本实施例提供的一种基于服务功能链的路由优化方法,通过考虑SFC的主、备路由可靠部署以及网络风险均衡的联合问题,并引入故障场景不确定性的影响,提出了基于服务功能链的路由策略,本发明的路由策略在提升信息传输鲁棒性的同时,有效减少了高重要度信息在网络局部拓扑内的集中分布,从而避免了因通信业务受阻而导致单一故障恶化为级联故障的情况发生。This embodiment provides a routing optimization method based on a service function chain. By considering the joint problem of reliable deployment of the main and backup routes of the SFC and network risk balance and introducing the influence of the uncertainty of the fault scenario, a routing strategy based on the service function chain is proposed. The routing strategy of the present invention improves the robustness of information transmission while effectively reducing the concentrated distribution of high-importance information in the local topology of the network, thereby avoiding the situation where a single fault deteriorates into a cascading fault due to the obstruction of communication services.

请参阅图7,基于同一发明构思,本发明第二实施例提出的一种基于服务功能链的路由优化系统,包括:Referring to FIG. 7 , based on the same inventive concept, a route optimization system based on a service function chain is proposed in a second embodiment of the present invention, including:

重要度计算模块10,用于根据电力系统的信息物理敏感度和传输线路的级联故障指示系数,计算服务功能链的功能链重要度;The importance calculation module 10 is used to calculate the function chain importance of the service function chain according to the information physical sensitivity of the power system and the cascade fault indication coefficient of the transmission line;

权重值计算模块20,用于根据所述功能链重要度和物理链路的可用率,计算物理链路的链路风险值,并根据所述链路风险值和链路长度,计算物理链路的风险路由权重值;The weight value calculation module 20 is used to calculate the link risk value of the physical link according to the importance of the function chain and the availability of the physical link, and calculate the risk routing weight value of the physical link according to the link risk value and the link length;

路由优化模块30,用于根据所述功能链重要度和所述风险路由权重值,建立服务功能链路由优化模型,并对所述服务功能链路由优化模型进行求解,得到电力系统的最优路由策略。The routing optimization module 30 is used to establish a service function chain routing optimization model according to the function chain importance and the risk routing weight value, and solve the service function chain routing optimization model to obtain the optimal routing strategy of the power system.

在一个优选的实施例中,本发明还包括:In a preferred embodiment, the present invention further comprises:

重要度计算模块10,还用于根据电力系统中信息量和物理量的映射关系,计算电力系统的信息物理敏感度;根据电力系统中输电线路的极限功率接近度和功率波动幅度,计算所述传输线路的级联故障指示系数。The importance calculation module 10 is also used to calculate the information-physical sensitivity of the power system based on the mapping relationship between the information quantity and the physical quantity in the power system; and calculate the cascading fault indication coefficient of the transmission line based on the limit power proximity and power fluctuation amplitude of the transmission line in the power system.

在另一个优选的实施例中,本发明还包括:In another preferred embodiment, the present invention further comprises:

路由优化模块30,还用于将所述风险路由权重值作为路由决策变量的权重值,并根据所述功能链重要度,建立第一目标函数;根据链路故障的不确定变量,确定服务功能链的中断指示系数,并根据所述功能链重要度,建立第二目标函数;根据所述第一目标函数和所述第二目标函数,建立路由优化目标函数;根据服务功能链的虚拟网络功能节点要求、带宽资源要求和选取路由要求,建立所述服务功能链的约束条件;将所述路由优化目标函数和所述约束条件作为服务功能链路由优化模型。The routing optimization module 30 is also used to use the risk routing weight value as the weight value of the routing decision variable, and establish a first objective function according to the importance of the function chain; determine the interruption indication coefficient of the service function chain according to the uncertain variables of the link failure, and establish a second objective function according to the importance of the function chain; establish a routing optimization objective function according to the first objective function and the second objective function; establish constraints of the service function chain according to the virtual network function node requirements, bandwidth resource requirements and route selection requirements of the service function chain; and use the routing optimization objective function and the constraints as a service function chain routing optimization model.

本发明实施例提出的基于服务功能链的路由优化系统的技术特征和技术效果与本发明实施例提出的方法相同,在此不予赘述。上述基于服务功能链的路由优化系统中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。The technical features and technical effects of the route optimization system based on the service function chain proposed in the embodiment of the present invention are the same as those of the method proposed in the embodiment of the present invention, and are not described in detail here. Each module in the route optimization system based on the service function chain can be implemented in whole or in part by software, hardware, and a combination thereof. Each of the above modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

综上,本发明实施例提出的一种基于服务功能链的路由优化方法和系统,所述方法通过根据电力系统的信息物理敏感度和传输线路的级联故障指示系数,计算服务功能链的功能链重要度;根据所述功能链重要度和物理链路的可用率,计算物理链路的链路风险值,并根据所述链路风险值和链路长度,计算物理链路的风险路由权重值;根据所述功能链重要度和所述风险路由权重值,建立服务功能链路由优化模型,并对所述服务功能链路由优化模型进行求解,得到电力系统的最优路由策略。本发明通过考虑SFC的主、备路由可靠部署以及网络风险均衡的联合问题,引入故障场景不确定性的影响,提出了基于服务功能链的路由策略,本发明的路由策略优先将高重要度SFC分配到低风险值的网络路径中,避免了高重要度信息集中在网络局部拓扑内,同时通过寻找最严重故障场景下的解决方案,提升了路由机制的鲁棒性,实现了故障场景下的自适应,从而避免了因通信业务受阻而导致单一故障恶化为级联故障的情况发生。In summary, the embodiment of the present invention proposes a routing optimization method and system based on a service function chain. The method calculates the function chain importance of the service function chain according to the information physical sensitivity of the power system and the cascading fault indication coefficient of the transmission line; calculates the link risk value of the physical link according to the function chain importance and the availability of the physical link, and calculates the risk routing weight value of the physical link according to the link risk value and the link length; establishes a service function chain routing optimization model according to the function chain importance and the risk routing weight value, and solves the service function chain routing optimization model to obtain the optimal routing strategy of the power system. The present invention introduces the influence of the uncertainty of the fault scenario by considering the joint problem of the reliable deployment of the main and backup routes of the SFC and the network risk balance, and proposes a routing strategy based on the service function chain. The routing strategy of the present invention preferentially allocates the high-importance SFC to the network path with low risk value, avoiding the concentration of high-importance information in the local topology of the network. At the same time, by finding the solution under the most serious fault scenario, the robustness of the routing mechanism is improved, and the adaptation under the fault scenario is realized, thereby avoiding the situation where a single fault deteriorates into a cascading fault due to the obstruction of the communication service.

本说明书中的各个实施例均采用递进的方式描述,各个实施例直接相同或相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。需要说明的是,上述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。Each embodiment in this specification is described in a progressive manner, and the same or similar parts of each embodiment can be directly referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. It should be noted that the technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

以上所述实施例仅表达了本申请的几种优选实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本技术领域的普通技术人员来说,在不脱离本发明技术原理的前提下,还可以做出若干改进和替换,这些改进和替换也应视为本申请的保护范围。因此,本申请专利的保护范围应以所述权利要求的保护范围为准。The above-mentioned embodiments only express several preferred implementation modes of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in the technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention, and these improvements and substitutions should also be regarded as the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be based on the protection scope of the claims.

Claims (6)

1.一种基于服务功能链的路由优化方法,其特征在于,包括:1. A route optimization method based on a service function chain, characterized by comprising: 根据电力系统中信息量和物理量的映射关系,计算电力系统的信息物理敏感度;According to the mapping relationship between information quantity and physical quantity in the power system, the information-physical sensitivity of the power system is calculated; 根据电力系统中输电线路的极限功率接近度和功率波动幅度,计算传输线路的级联故障指示系数;Calculate the cascading fault indication coefficient of the transmission line according to the limit power proximity and power fluctuation amplitude of the transmission line in the power system; 根据电力系统的信息物理敏感度和传输线路的级联故障指示系数,计算服务功能链的功能链重要度;According to the information physical sensitivity of the power system and the cascading fault indication coefficient of the transmission line, the function chain importance of the service function chain is calculated; 根据所述功能链重要度和物理链路的可用率,计算物理链路的链路风险值,并根据所述链路风险值和链路长度,计算物理链路的风险路由权重值;Calculating a link risk value of the physical link according to the importance of the function chain and the availability of the physical link, and calculating a risk routing weight value of the physical link according to the link risk value and the link length; 根据所述功能链重要度和所述风险路由权重值,建立服务功能链路由优化模型,并对所述服务功能链路由优化模型进行求解,得到电力系统的最优路由策略;According to the importance of the function chain and the risk routing weight value, a service function chain routing optimization model is established, and the service function chain routing optimization model is solved to obtain an optimal routing strategy for the power system; 所述根据所述功能链重要度和所述风险路由权重值,建立服务功能链路由优化模型的步骤包括:The step of establishing a service function chain routing optimization model according to the function chain importance and the risk routing weight value comprises: 将所述风险路由权重值作为路由决策变量的权重值,并根据所述功能链重要度,建立第一目标函数;Using the risk routing weight value as the weight value of the routing decision variable, and establishing a first objective function according to the function chain importance; 根据链路故障的不确定变量,确定服务功能链的中断指示系数,并根据所述功能链重要度,建立第二目标函数;Determine the interruption indication coefficient of the service function chain according to the uncertain variable of the link failure, and establish a second objective function according to the importance of the function chain; 根据所述第一目标函数和所述第二目标函数,建立路由优化目标函数;Establishing a routing optimization objective function according to the first objective function and the second objective function; 根据服务功能链的虚拟网络功能节点要求、带宽资源要求和选取路由要求,建立所述服务功能链的约束条件;Establishing constraints of the service function chain according to the virtual network function node requirements, bandwidth resource requirements and routing selection requirements of the service function chain; 将所述路由优化目标函数和所述约束条件作为服务功能链路由优化模型。The routing optimization objective function and the constraint conditions are used as a service function chain routing optimization model. 2.根据权利要求1所述的基于服务功能链的路由优化方法,其特征在于,所述根据服务功能链的虚拟网络功能节点要求、带宽资源要求和选取路由要求,建立所述服务功能链的约束条件的步骤包括:2. The route optimization method based on the service function chain according to claim 1 is characterized in that the step of establishing the constraint conditions of the service function chain according to the virtual network function node requirements, bandwidth resource requirements and route selection requirements of the service function chain comprises: 根据服务功能链中虚拟网络功能的节点部署唯一性,建立节点约束条件;Establish node constraints based on the uniqueness of node deployment of virtual network functions in the service function chain; 根据服务功能链的带宽资源最大值,建立带宽资源约束条件;Establish bandwidth resource constraint conditions based on the maximum bandwidth resource of the service function chain; 根据服务功能链中所选取路由的节点访问顺序要求,建立访问顺序约束条件;Establish access sequence constraints based on the node access sequence requirements of the selected routes in the service function chain; 根据服务功能链中所选取路由的网络拓扑要求,建立路由拓扑约束条件。Establish routing topology constraints based on the network topology requirements of the routes selected in the service function chain. 3.根据权利要求1所述的基于服务功能链的路由优化方法,其特征在于,采用如下公式表示所述信息物理敏感度:3. The route optimization method based on service function chain according to claim 1 is characterized in that the information physical sensitivity is expressed by the following formula: 式中,表示物理状态变量的向量;表示信息变量的向量,表示物理侧控制变量的向量,表示信息侧控制变量的向量;In the formula, A vector representing the physical state variables; represents a vector of information variables, represents the vector of physical side control variables, represents the vector of information-side control variables; 采用如下公式表示所述极限功率接近度:The limit power proximity is expressed by the following formula: 式中,表示故障前输电线路流过的功率,表示输电线路的基准功率值,表示输电线路的功率传输极限,表示输电线路总数;In the formula, Indicates the transmission line before the fault The power flowing through Indicates transmission line The reference power value, Indicates transmission line The power transfer limit is represents the total number of transmission lines; 采用如下公式表示所述功率波动幅度:The power fluctuation amplitude is expressed by the following formula: 式中,表示输电线路故障后输电线路上引起的功率波动;In the formula, Indicates transmission line Transmission line after fault Power fluctuation caused by 采用如下公式表示所述级联故障指示系数:The cascade fault indication coefficient is expressed by the following formula: 式中,表示输电线路的级联故障指示系数,表示均衡因子;In the formula, Indicates transmission line The cascading fault indication coefficient, represents the equilibrium factor; 采用如下公式表示所述功能链重要度:The following formula is used to express the importance of the function chain: 式中,表示第k条服务功能链的功能链重要度,表示第k条服务功能链的信息物理敏感度,表示故障场景发生的概率,S表示通信网络的故障矩阵不确定集,表示发生故障场景的输电线路的级联故障指示系数。In the formula, represents the function chain importance of the kth service function chain, represents the information-physical sensitivity of the kth service function chain, Indicates the fault scenario The probability of occurrence, S represents the uncertainty set of the fault matrix of the communication network, Indicates a failure scenario Transmission lines Cascading fault indication factor. 4.根据权利要求1所述的基于服务功能链的路由优化方法,其特征在于,采用如下公式表示所述链路风险值:4. The route optimization method based on service function chain according to claim 1 is characterized in that the link risk value is expressed by the following formula: 式中,表示物理链路的链路风险值,表示物理链路的可用率,表示物理节点和物理节点之间的物理链路,表示第k条服务功能链的功能链重要度;In the formula, Indicates the physical link The link risk value is Indicates the physical link The availability rate, Represents a physical node and physical nodes The physical link between represents the function chain importance of the kth service function chain; 采用如下公式表示所述风险路由权重值:The risk routing weight value is expressed by the following formula: 式中,表示物理链路的风险路由权重值,表示物理链路的长度,表示单位长度链路可用率,表示物理链路可承载的最大风险值,表示输电线路中物理链路的链路风险值。In the formula, Indicates the physical link The risk routing weight value is Indicates the physical link Length, represents the link availability per unit length, Indicates the physical link The maximum risk value that can be carried, Indicates transmission line Physical Link The link risk value. 5.根据权利要求1所述的基于服务功能链的路由优化方法,其特征在于,采用如下公式表示所述第一目标函数:5. The route optimization method based on service function chain according to claim 1 is characterized in that the first objective function is expressed by the following formula: 式中,表示第k条服务功能链的功能链重要度,K表示服务功能链的总条数,表示物理节点和物理节点之间的物理链路,表示物理链路集合,表示物理链路的风险路由权重值,表示第k条服务功能链中逻辑节点和逻辑节点之间的主逻辑链路是否需要经过物理链路表示第k条服务功能链中逻辑节点和逻辑节点之间的备逻辑链路是否需要经过物理链路表示逻辑节点和逻辑节点之间的逻辑链路,表示第一阈值;In the formula, represents the function chain importance of the kth service function chain, K represents the total number of service function chains, Represents a physical node and physical nodes The physical link between Represents a set of physical links. Indicates the physical link The risk routing weight value is Represents the logical node in the kth service function chain and logical nodes Does the main logical link between the two need to pass through the physical link? , Represents the logical node in the kth service function chain and logical nodes Do the backup logical links between the two need to pass through the physical link? , Represents a logical node and logical nodes The logical link between represents the first threshold; 采用如下公式表示所述第二目标函数:The second objective function is expressed by the following formula: 式中,表示物理链路的状态,表示第k条服务功能链中基于物理链路的状态的中断指示系数;In the formula, Indicates the physical link status, Indicates the kth service function chain based on the physical link The interruption indication coefficient of the state; 采用如下公式表示所述路由优化目标函数:The routing optimization objective function is expressed by the following formula: 式中,表示第二阈值,S表示通信网络的故障矩阵不确定集;In the formula, represents the second threshold, S represents the uncertainty set of the fault matrix of the communication network; 采用如下公式表示所述约束条件:The constraint condition is expressed by the following formula: 式中,表示第m个虚拟网络功能是否部署在物理节点i上,M表示通信网络中虚拟网络功能的集合,表示通信网络中物理节点的集合,表示逻辑节点是否由第m个虚拟网络功能处理,表示第k条服务功能链的逻辑拓扑中的节点集合,表示第k条服务功能链的逻辑拓扑中的链路集合,表示物理链路的可用带宽,表示第k条服务功能链的源节点,表示第k条服务功能链的目的节点,表示第k条服务功能链中逻辑节点和逻辑节点之间的主逻辑链路是否需要经过物理链路表示第k条服务功能链中逻辑节点和逻辑节点之间的备逻辑链路是否需要经过物理链路In the formula, Indicates whether the mth virtual network function is deployed on the physical node i, M represents the set of virtual network functions in the communication network, represents a collection of physical nodes in a communication network, Represents a logical node Whether it is handled by the mth virtual network function, represents the node set in the logical topology of the kth service function chain, represents the set of links in the logical topology of the kth service function chain, Indicates the physical link Available bandwidth, represents the source node of the kth service function chain, represents the destination node of the kth service function chain, Represents the logical node in the kth service function chain and logical nodes Does the main logical link between the two need to pass through the physical link? , Represents the logical node in the kth service function chain and logical nodes Do the backup logical links between the two need to pass through the physical link? . 6.一种基于服务功能链的路由优化系统,其特征在于,包括:6. A route optimization system based on a service function chain, characterized by comprising: 重要度计算模块,用于根据电力系统中信息量和物理量的映射关系,计算电力系统的信息物理敏感度;根据电力系统中输电线路的极限功率接近度和功率波动幅度,计算传输线路的级联故障指示系数;根据电力系统的信息物理敏感度和传输线路的级联故障指示系数,计算服务功能链的功能链重要度;The importance calculation module is used to calculate the information-physical sensitivity of the power system according to the mapping relationship between the information quantity and the physical quantity in the power system; calculate the cascading fault indication coefficient of the transmission line according to the limit power proximity and power fluctuation amplitude of the transmission line in the power system; calculate the function chain importance of the service function chain according to the information-physical sensitivity of the power system and the cascading fault indication coefficient of the transmission line; 权重值计算模块,用于根据所述功能链重要度和物理链路的可用率,计算物理链路的链路风险值,并根据所述链路风险值和链路长度,计算物理链路的风险路由权重值;A weight value calculation module, used to calculate the link risk value of the physical link according to the importance of the function chain and the availability of the physical link, and to calculate the risk routing weight value of the physical link according to the link risk value and the link length; 路由优化模块,用于根据所述功能链重要度和所述风险路由权重值,建立服务功能链路由优化模型,并对所述服务功能链路由优化模型进行求解,得到电力系统的最优路由策略;A routing optimization module, used to establish a service function chain routing optimization model according to the function chain importance and the risk routing weight value, and solve the service function chain routing optimization model to obtain an optimal routing strategy for the power system; 所述路由优化模块,还用于将所述风险路由权重值作为路由决策变量的权重值,并根据所述功能链重要度,建立第一目标函数;根据链路故障的不确定变量,确定服务功能链的中断指示系数,并根据所述功能链重要度,建立第二目标函数;根据所述第一目标函数和所述第二目标函数,建立路由优化目标函数;根据服务功能链的虚拟网络功能节点要求、带宽资源要求和选取路由要求,建立所述服务功能链的约束条件;将所述路由优化目标函数和所述约束条件作为服务功能链路由优化模型。The routing optimization module is also used to use the risk routing weight value as the weight value of the routing decision variable, and establish a first objective function according to the function chain importance; determine the interruption indication coefficient of the service function chain according to the uncertain variable of the link failure, and establish a second objective function according to the function chain importance; establish a routing optimization objective function according to the first objective function and the second objective function; establish constraints of the service function chain according to the virtual network function node requirements, bandwidth resource requirements and route selection requirements of the service function chain; and use the routing optimization objective function and the constraints as a service function chain routing optimization model.
CN202410748799.6A 2024-06-12 2024-06-12 A routing optimization method and system based on service function chain Active CN118337694B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410748799.6A CN118337694B (en) 2024-06-12 2024-06-12 A routing optimization method and system based on service function chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410748799.6A CN118337694B (en) 2024-06-12 2024-06-12 A routing optimization method and system based on service function chain

Publications (2)

Publication Number Publication Date
CN118337694A CN118337694A (en) 2024-07-12
CN118337694B true CN118337694B (en) 2024-08-13

Family

ID=91769594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410748799.6A Active CN118337694B (en) 2024-06-12 2024-06-12 A routing optimization method and system based on service function chain

Country Status (1)

Country Link
CN (1) CN118337694B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376156A (en) * 2015-11-11 2016-03-02 国家电网公司 Multi-attribute decision-making based power backbone transmission network route planning method
CN112738820A (en) * 2020-12-22 2021-04-30 国网北京市电力公司 A method, device and computer equipment for dynamic deployment of service function chain

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107770096B (en) * 2017-12-11 2021-07-30 国网河南省电力公司信息通信公司 A dynamic resource allocation method for SDN/NFV network based on load balancing
WO2022109184A1 (en) * 2020-11-20 2022-05-27 Intel Corporation Service function chaining policies for 5g systems
JP7622341B2 (en) * 2021-05-28 2025-01-28 インテル・コーポレーション Enhanced Service Classification for Service Function Chaining in Next Generation Cellular Networks
CN115037628B (en) * 2022-05-23 2023-08-22 郑州轻工业大学 Self-adaptive service function chain mapping method based on deep reinforcement learning
CN117118885A (en) * 2023-08-23 2023-11-24 浙江大学 Power communication route optimization method considering fault risk

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376156A (en) * 2015-11-11 2016-03-02 国家电网公司 Multi-attribute decision-making based power backbone transmission network route planning method
CN112738820A (en) * 2020-12-22 2021-04-30 国网北京市电力公司 A method, device and computer equipment for dynamic deployment of service function chain

Also Published As

Publication number Publication date
CN118337694A (en) 2024-07-12

Similar Documents

Publication Publication Date Title
EP2656548B1 (en) Communications network management
JP6212276B2 (en) Power system event processing system
CN105553869B (en) A kind of risk balance method and system of power telecom network
CN112118176B (en) A Service Reliability-Oriented Routing Load Optimization Method for Integrated Data Network Channels
CN106506357A (en) A dual-routing configuration method and device for an electric power communication network
US8862775B2 (en) Network server and load balancing routing method for networks thereof
CN110971525B (en) Service routing and addressing method for service operation of power communication network
CN107302496A (en) A kind of software defined network link failure recovery method based on band control
CN108965014A (en) The service chaining backup method and system of QoS perception
US20200112905A1 (en) Routing optimization based on historical network measures
Li et al. P4Resilience: Scalable resilience for multi-failure recovery in SDN with programmable data plane
CN112910778A (en) Network security routing method and system
CN117978623B (en) Method, device and equipment for constructing tough data sharing network for coping with network attack
CN118337694B (en) A routing optimization method and system based on service function chain
Wang et al. Electricity services based dependability model of power grid communication networking
WO2023050469A1 (en) Edge computing-based method and system for fiwi network load balancing
Wu et al. Dynamic behavior analysis of an internet flow interaction model under cascading failures
CN109861855B (en) A method and device for determining the importance of nodes in a power communication network
CN106100722A (en) A kind of virtual network survivability mapping method that can distinguish maximum sharing capability
CN113660677B (en) Maximum error independent path calculation method of weighted time-varying network under consumption limit
US8995827B2 (en) System and method for finding partially disjoint paths for spare capacity allocation in shared backup path protection for dual fiber cuts
CN114039840B (en) Configurable dynamic high-reliability service chain architecture and method in software defined network
JP7103522B2 (en) Reliability estimation system and reliability estimation method
CN115086197A (en) Method and system for evaluating robustness of communication network
García et al. Multicast routing and virtual network function placement in NFV-SDN networks: A genetic algorithms approach

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