CN112560204B - Optical network route optimization method based on LSTM deep learning and related device thereof - Google Patents
Optical network route optimization method based on LSTM deep learning and related device thereof Download PDFInfo
- Publication number
- CN112560204B CN112560204B CN202011112574.XA CN202011112574A CN112560204B CN 112560204 B CN112560204 B CN 112560204B CN 202011112574 A CN202011112574 A CN 202011112574A CN 112560204 B CN112560204 B CN 112560204B
- Authority
- CN
- China
- Prior art keywords
- service
- spectrum
- deployed
- matrix
- time
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 238000005457 optimization Methods 0.000 title claims abstract description 42
- 230000003287 optical effect Effects 0.000 title claims abstract description 35
- 238000013135 deep learning Methods 0.000 title claims abstract description 24
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 24
- 230000000903 blocking effect Effects 0.000 claims abstract description 7
- 238000001228 spectrum Methods 0.000 claims description 101
- 239000011159 matrix material Substances 0.000 claims description 56
- 238000013136 deep learning model Methods 0.000 claims description 10
- 238000012549 training Methods 0.000 claims description 9
- 238000004088 simulation Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 2
- 230000008878 coupling Effects 0.000 claims 1
- 238000010168 coupling process Methods 0.000 claims 1
- 238000005859 coupling reaction Methods 0.000 claims 1
- 230000003595 spectral effect Effects 0.000 claims 1
- 230000006870 function Effects 0.000 abstract description 8
- 238000013528 artificial neural network Methods 0.000 abstract description 4
- 238000004364 calculation method Methods 0.000 abstract description 4
- 230000007547 defect Effects 0.000 abstract description 4
- 238000013507 mapping Methods 0.000 abstract description 3
- 230000003044 adaptive effect Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000010801 machine learning Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000004075 alteration Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003631 expected effect Effects 0.000 description 1
- 238000013467 fragmentation Methods 0.000 description 1
- 238000006062 fragmentation reaction Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/18—Network design, e.g. design based on topological or interconnect aspects of utility systems, piping, heating ventilation air conditioning [HVAC] or cabling
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent networks, e.g. Hopfield networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Geometry (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Biophysics (AREA)
- Biomedical Technology (AREA)
- Artificial Intelligence (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
Description
技术领域technical field
本说明书一个或多个实施例涉及路由优化技术领域,尤其涉及一种基于LSTM深度学习的光网络路由优化方法及其相关装置。One or more embodiments of this specification relate to the technical field of routing optimization, and in particular to a method for optimizing routing of an optical network based on LSTM deep learning and related devices.
背景技术Background technique
传统的光网络路由优化方式有重路由和频谱搬移两种。重路由,即将一些在非最优路径上的业务通过重新路由来选择新的最优路径传输以改善网络整体性能。在网络承载业务进行传输时,因为业务的资源需求没有得到满足,很多业务并没有被分配在最短或最优路径上。当最短路径上的业务请求被拆除时,处于别的非最优路径上的业务就可以通过重路由的方式转移到最短或最优路径上,从而优化网络资源的使用,改善网络整体性能。频谱搬移是指在业务原有路径下,寻找是否有空闲的低位频隙资源,如果有则将业务直接搬移到空闲频隙上,如果没有则不对业务进行操作。由于业务连接请求的频繁建立和释放,使得频谱资源的碎片化程度非常高,将业务进行频谱搬移可以整合频谱资源,从而可以部署更多的业务以达到网络优化的目的。Traditional optical network routing optimization methods include rerouting and spectrum shifting. Rerouting means that some services on the non-optimal path are re-routed to select a new optimal path for transmission to improve the overall performance of the network. When the network carries services for transmission, many services are not allocated on the shortest or optimal path because the resource requirements of the services are not met. When the service request on the shortest path is removed, the service on other non-optimal paths can be transferred to the shortest or optimal path through rerouting, thereby optimizing the use of network resources and improving the overall performance of the network. Spectrum relocation refers to finding whether there are idle low-order frequency slot resources under the original path of the service. If there is, the service will be directly moved to the free frequency slot. If not, the service will not be operated. Due to the frequent establishment and release of service connection requests, the fragmentation of spectrum resources is very high. Spectrum relocation for services can integrate spectrum resources, so that more services can be deployed to achieve the purpose of network optimization.
近年来已经开始涌现出一些结合深度学习方法的光网络路由优化方法研究成果,但是目前所提出的基于深度学习的光网络路由优化算法存在一些缺陷:第一,目前只是使用了传统机器学习或者浅层的人工神经网络算法,这些传统的算法通常存在特征学习能力有限,对复杂函数的表达能力比较差等问题。第二,目前大部分方案都是通过预测网络中的某项参数,然后根据这些网络参数达到对业务路由间接优化的目的,然而网络业务路由优化是一个复杂的问题,针对单一目标参数的优化通常很难取得明显的路由优化性能提升。第三,都需要在每个交换机中部署机器学习算法,然后交换机收集这些信息进行路由计算,但是在实际场景中交换机的资源十分有限,很难满足机器学习算法对计算资源的要求。第四,都需要使用流量矩阵作为深度学习算法的输入,但是在真实场景中进行精准的流量矩阵测量需要巨大的网络资源开销。In recent years, some research results of optical network routing optimization methods combined with deep learning methods have begun to emerge, but the proposed optical network routing optimization algorithms based on deep learning have some defects: First, only traditional machine learning or shallow Layer artificial neural network algorithms, these traditional algorithms usually have problems such as limited feature learning ability and poor expression ability for complex functions. Second, most of the current solutions are to predict a certain parameter in the network, and then achieve the purpose of indirect optimization of service routing based on these network parameters. However, network service routing optimization is a complicated problem, and optimization for a single target parameter is usually It is difficult to achieve significant route optimization performance gains. Third, it is necessary to deploy a machine learning algorithm in each switch, and then the switch collects this information for routing calculation. However, in actual scenarios, the resources of the switch are very limited, and it is difficult to meet the computing resource requirements of the machine learning algorithm. Fourth, both need to use the traffic matrix as the input of the deep learning algorithm, but accurate traffic matrix measurement in real scenarios requires huge network resource overhead.
发明内容Contents of the invention
有鉴于此,本说明书一个或多个实施例的目的在于提出一种基于LSTM深度学习的光网络路由优化方法及其相关装置,以解决现有技术中算法通常存在特征学习能力有限,对复杂函数的表达能力比较差,优化目标参数单一,交换机资源有限和网络资源开销巨大的问题。In view of this, the purpose of one or more embodiments of this specification is to propose an optical network routing optimization method based on LSTM deep learning and related devices to solve the problem of limited feature learning ability of algorithms in the prior art, and complex functions The problem of poor expression ability, single optimization target parameter, limited switch resources and huge network resource overhead.
基于上述目的,本说明书一个或多个实施例提供了一种基于LSTM深度学习的光网络路由优化方法及其相关装置,其中方法包括:Based on the above purpose, one or more embodiments of this specification provide an optical network routing optimization method and related devices based on LSTM deep learning, wherein the method includes:
接收待部署业务的请求,解析所述待部署业务的属性,根据所述待部署业务的属性计算其最短路径;receiving the request of the service to be deployed, analyzing the attribute of the service to be deployed, and calculating the shortest path according to the attribute of the service to be deployed;
判断所述最短路径上频谱是否充足;judging whether the frequency spectrum on the shortest path is sufficient;
若不充足,则获取满足所述待部署业务所需频谱数量的堵塞路径上已部署业务的剩余时间,计算所述待部署业务的持续时间与所述已部署业务的剩余时间的时间差,并为所述待部署业务寻找次优路径进行部署;If not enough, obtain the remaining time of the deployed service on the congested path that satisfies the amount of spectrum required by the service to be deployed, calculate the time difference between the duration of the service to be deployed and the remaining time of the deployed service, and The to-be-deployed service finds a suboptimal path for deployment;
收集光网络中整体路径频谱占用状况数据,将收集的数据输入至训练好的LSTM深度学习模型中,获得预设的重构阈值;Collect the overall path spectrum occupancy data in the optical network, input the collected data into the trained LSTM deep learning model, and obtain the preset reconstruction threshold;
判断所述时间差是否达到所述预设的重构阈值,根据判断结果进行分配路径。Judging whether the time difference reaches the preset reconstruction threshold, and assigning paths according to the judging result.
所述判断所述最短路径上频谱是否充足之后,包括:After the judging whether the frequency spectrum on the shortest path is sufficient, includes:
若充足,则选择并分配给所述待部署业务所述最短路径的波长频谱,更新所述最短路径上的频谱状态信息并结束分配。If it is sufficient, select and allocate to the wavelength spectrum of the shortest path of the service to be deployed, update the spectrum status information on the shortest path, and end the allocation.
所述判断所述时间差是否达到所述预设的重构阈值,根据判断结果进行分配,包括:The judging whether the time difference reaches the preset reconstruction threshold, and assigning according to the judging result includes:
若所述时间差大于所述预设的重构阈值,则所述待部署业务经过所述时间差的时间后进行重构,选择并分配给所述待部署业务最短路径的波长频谱,更新路径上的频谱状态信息并结束分配,若所述时间差小于或等于所述预设的重构阈值,则结束分配。If the time difference is greater than the preset reconfiguration threshold, the service to be deployed will be reconfigured after passing the time difference, select and allocate to the wavelength spectrum of the shortest path of the service to be deployed, and update the Spectrum status information and end allocation, if the time difference is less than or equal to the preset reconstruction threshold, end allocation.
所述LSTM深度学习模型的训练步骤包括:The training steps of the LSTM deep learning model include:
获取网络中历史的网络频谱占用状况信息和业务信息;Obtain historical network spectrum occupancy information and service information in the network;
根据所述历史的网络频谱占用状况信息和业务信息,按照时间序列生成频谱矩阵S与业务矩阵R,包括在时间序列t1、t2至tn下,得到对应的频谱矩阵S1、S2至Sn和业务矩阵R1、R2至Rn;According to the historical network spectrum occupancy status information and service information, generate a spectrum matrix S and a service matrix R according to time series, including obtaining corresponding spectrum matrices S 1 , S 2 under time series t 1 , t 2 to t n to S n and service matrices R 1 , R 2 to R n ;
根据当前ti采集到的所述频谱矩阵Si和所述业务矩阵Ri当做输入数据输入初始的LSTM预测模型,ti表示在所述时间序列t1、t2至tn中的任一时刻,使用ti的下一时刻ti+1的所述频谱矩阵Si+1和所述业务矩阵Ri+1作为标签数据,训练所述预设的重构阈值的选取;The spectrum matrix S i and the service matrix R i collected according to the current t i are used as input data to input the initial LSTM prediction model, and t i represents any of the time series t 1 , t 2 to t n At a moment, use the spectrum matrix S i+1 and the service matrix R i+1 at the next moment t i +1 of t i as label data to train the selection of the preset reconstruction threshold;
根据每次ti输入的所述频谱矩阵和所述业务矩阵,将输出得到预测重构阈值进行模拟,根据使用所述预测重构阈值得到的网络业务堵塞率来给所述预测重构阈值进行打分,并将所述ti时刻得到的预测重构阈值当做输入信息,得到所述ti+1时刻的预测重构阈值进行模拟,打分,输入,直至结束;According to the spectrum matrix and the service matrix input each time t i , the predicted reconstruction threshold is obtained as an output for simulation, and the predicted reconstruction threshold is calculated according to the network traffic congestion rate obtained by using the predicted reconstruction threshold. Scoring, and using the predicted reconstruction threshold obtained at the time t i as input information, obtaining the predicted reconstruction threshold at the time t i+1 for simulation, scoring, and inputting until the end;
重复上述四个步骤,对所述LSTM模型进行反复训练,所述LSTM模型会选取不同的所述预测重构阈值进行模拟并根据网络中业务阻塞率进行打分,选取得分最高的所述预测重构阈值作为预设的重构阈值。Repeat the above four steps to repeatedly train the LSTM model. The LSTM model will select different predicted reconstruction thresholds for simulation and score according to the traffic blocking rate in the network, and select the predicted reconstruction threshold with the highest score. The reconstruction threshold is used as the preset reconstruction threshold.
所述业务属性包括源节点,宿节点,业务开始时间,业务持续时间和需要频谱数;The service attributes include source node, sink node, service start time, service duration and required frequency spectrum;
所述计算业务最短路径的算法为Dijkstra算法。The algorithm for calculating the shortest path of a service is the Dijkstra algorithm.
所述选择并分配给待部署业务最短路径的波长频谱采用的方法为First-Fit算法。The method used for selecting and allocating the wavelength spectrum of the shortest path of the service to be deployed is the First-Fit algorithm.
所述频谱矩阵S的形式为:The form of the spectrum matrix S is:
其中所述频谱矩阵S中的表示网络中路由节点xi与xj之间链路的频谱占用状况,若节点xi与xj不直连,那么为0,若节点xi与xj直连且频谱占用率为0,那么为1。Wherein the spectrum matrix S in Indicates the spectrum occupancy status of the link between routing nodes x i and x j in the network. If nodes x i and x j are not directly connected, then is 0, if node x i is directly connected to x j and the spectrum occupancy rate is 0, then is 1.
所述业务矩阵R的形式为:The form of the business matrix R is:
其中所述业务矩阵R中的分别代表业务Ri的源节点和宿节点;代表业务Ri所需的频谱资源;代表业务Ri的剩余时间;Pi代表业务Ri的工作路径,所述业务矩阵随着业务的到来和离去随时更新。Wherein the business matrix R in represent the source node and the sink node of the service R i respectively; Represents the spectrum resource required by service R i ; Represents the remaining time of service R i ; P i represents the working path of service R i , and the service matrix is updated at any time with the arrival and departure of services.
基于同一发明构思,本说明书一个或多个实施例还提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上任意一项所述的方法。Based on the same inventive concept, one or more embodiments of this specification also provide an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor executes the program When implementing any of the methods described above.
基于同一发明构思,本说明书一个或多个实施例还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上任意一项所述的方法。Based on the same inventive concept, one or more embodiments of this specification also provide a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to make the A computer executes any of the methods described above.
从上面所述可以看出,本发明一个或多个实施例提供的一种基于LSTM深度学习的光网络路由优化方法及其相关装置,通过学习不同场景下的链路使用率和业务剩余时间特征与路由策略复杂的映射关系,将网络中链路和业务整体信息作为输入,通过几层神经网络计算即可快速获取重构阈值,来决策是否进行路由优化策略,该方法解决了现有技术中算法通常存在特征学习能力有限,对复杂函数的表达能力比较差,优化目标参数单一,交换机资源有限和网络资源开销巨大的缺陷,同时该阈值随着业务的不断到来可以实时高效的改变,从而缓解因为网络流量波动或者承载业务量过多而导致业务阻塞的情况,因此可以实现光网络业务自适应的路由优化。It can be seen from the above that one or more embodiments of the present invention provide an optical network routing optimization method based on LSTM deep learning and its related devices, by learning the link utilization rate and service remaining time characteristics in different scenarios The complex mapping relationship with the routing strategy takes the overall information of links and services in the network as input, and the reconstruction threshold can be quickly obtained through several layers of neural network calculations to decide whether to implement a routing optimization strategy. This method solves the problems in the prior art. Algorithms usually have the defects of limited feature learning ability, poor expression ability for complex functions, single optimization target parameter, limited switch resources and huge network resource overhead. In the case of service congestion due to network traffic fluctuations or excessive bearer traffic, it is possible to implement adaptive routing optimization for optical network services.
附图说明Description of drawings
为了更清楚地说明本说明书一个或多个实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明一个或多个实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate one or more embodiments of this specification or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or prior art. Obviously, in the following description The accompanying drawings are only one or more embodiments of the present invention, and those skilled in the art can also obtain other drawings according to these drawings without creative work.
图1为本说明书一个或多个实施例实施例的光网络路由优化方法流程图;Fig. 1 is a flowchart of an optical network routing optimization method according to one or more embodiments of the present specification;
图2为本说明书一个或多个实施例实施例的光网络路由优化方法具体步骤流程图;Fig. 2 is a flowchart of specific steps of an optical network routing optimization method according to one or more embodiments of the present specification;
图3为本说明书一个或多个实施例实施例的光网络拓扑图;FIG. 3 is an optical network topology diagram of one or more embodiments of this specification;
图4为本说明书一个或多个实施例实施例的网络虚拟拓扑图;FIG. 4 is a network virtual topology diagram of one or more embodiments of this specification;
图5为本说明书一个或多个实施例实施例的电子设备结构示意图。Fig. 5 is a schematic structural diagram of an electronic device according to one or more embodiments of the present specification.
具体实施方式detailed description
为使本公开的目的、技术方案和优点更加清楚明白,以下结合具体实施例,并参照附图,对本公开进一步详细说明。In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the present disclosure will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.
需要说明的是,除非另外定义,本说明书一个或多个实施例使用的技术术语或者科学术语应当为本公开所属领域内具有一般技能的人士所理解的通常意义。It should be noted that, unless otherwise defined, the technical terms or scientific terms used in one or more embodiments of the present specification shall have ordinary meanings understood by those skilled in the art to which the present disclosure belongs.
如背景技术部分所述,现有技术中的路由优化方法还存在特征学习能力有限,对复杂函数的表达能力比较差,优化目标参数单一,交换机资源有限和网络资源开销巨大的问题,难以满足网络流量波动或承载业务量过多时的路由优化需要。申请人在实现本公开的过程中发现,对业务进行重路由可以缓解网络的阻塞情况,但是需要充分考虑重路由的概率与频率,即是否有必要进行路由重构。在一些业务处理完资源被释放后,路径上留下了空闲的频谱资源,网络中处于非最短或最优路径上的业务需要一个重构操作概率以来判断是否需要进行重构。重构频率的选择是需要重点考虑的问题之一,其需要根据网络的具体性能动态设置。如果频率太低,过少的重构次数作用微乎其微,将无法改善网络性能,达不到预想的效果;如果频率太高,网络会频繁地进行业务重构,增加整理的复杂度,加重网络的运算负荷,还会导致新到来的业务无法选择最短路径,可能造成更多低时延需求业务的阻塞。As mentioned in the background technology section, the routing optimization methods in the prior art still have the problems of limited feature learning ability, poor expression ability for complex functions, single optimization target parameters, limited switch resources and huge network resource overhead, and it is difficult to meet the requirements of the network. It is required for route optimization when traffic fluctuates or bears too much traffic. During the process of implementing the present disclosure, the applicant found that rerouting services can alleviate network congestion, but the probability and frequency of rerouting must be fully considered, that is, whether routing reconfiguration is necessary. After some services are processed and resources are released, idle spectrum resources are left on the path, and services on non-shortest or optimal paths in the network need a reconfiguration operation probability to determine whether reconfiguration is required. The selection of the reconfiguration frequency is one of the key considerations, which needs to be dynamically set according to the specific performance of the network. If the frequency is too low, too few reconfiguration times will have little effect, and the network performance will not be improved, and the expected effect will not be achieved; if the frequency is too high, the network will frequently perform service reconfiguration, which will increase the complexity of organization and aggravate network traffic. The computing load will also cause the new incoming business to fail to choose the shortest path, which may cause more low-latency demand business to be blocked.
有鉴于此,本说明书一个或多个实施例提供了一种基于LSTM深度学习的光网络路由优化方案,应用深度学习中的LSTM预测模型,通过学习不同场景下的链路使用率和业务剩余时间特征与路由策略复杂的映射关系,将网络中链路和业务整体信息作为输入,通过几层神经网络计算快速获取重构阈值,来决策是否进行路由优化策略。该方案解决了现有技术中算法通常存在特征学习能力有限,对复杂函数的表达能力比较差,优化目标参数单一,交换机资源有限和网络资源开销巨大的缺陷,同时该阈值随着业务的不断到来可以实时高效的改变,从而缓解因为网络流量波动或者承载业务量过多而导致业务阻塞的情况,实现了光网络业务自适应的路由优化。In view of this, one or more embodiments of this specification provide an optical network routing optimization scheme based on LSTM deep learning, applying the LSTM prediction model in deep learning, by learning the link usage rate and service remaining time in different scenarios The complex mapping relationship between features and routing strategies takes the overall information of links and services in the network as input, and quickly obtains the reconstruction threshold through several layers of neural network calculations to decide whether to implement routing optimization strategies. This solution solves the defects of limited feature learning ability, poor expression ability for complex functions, single optimization target parameters, limited switch resources and huge network resource overhead in the existing algorithms. It can be changed in real time and efficiently, thereby alleviating the situation of service congestion caused by network traffic fluctuations or carrying too much business, and realizing the self-adaptive routing optimization of optical network services.
以下,通过具体的实施例来详细说明本说明书一个或多个实施例的技术方案。Hereinafter, the technical solution of one or more embodiments in this specification will be described in detail through specific embodiments.
首先本说明书一个或多个实施例提供了一种基于LSTM深度学习的光网络路由优化方法,参考图1,所述方法包括以下步骤:First, one or more embodiments of this specification provide a method for optimizing optical network routing based on LSTM deep learning. Referring to FIG. 1, the method includes the following steps:
101:接收待部署业务的请求,解析所述待部署业务的属性,根据所述待部署业务的属性计算其最短路径。101: Receive a request of a service to be deployed, analyze the attributes of the service to be deployed, and calculate the shortest path according to the attributes of the service to be deployed.
102:判断所述最短路径上频谱是否充足。102: Determine whether the frequency spectrum on the shortest path is sufficient.
103:若不充足,则获取满足所述待部署业务所需频谱数量的堵塞路径上已部署业务的剩余时间,计算所述待部署业务的持续时间与所述已部署业务的剩余时间的时间差,并为所述待部署业务寻找次优路径进行部署。103: If not enough, obtain the remaining time of the deployed service on the congested path that satisfies the amount of spectrum required by the service to be deployed, and calculate the time difference between the duration of the service to be deployed and the remaining time of the deployed service, And find a suboptimal path for the service to be deployed for deployment.
104:收集光网络中整体路径频谱占用状况数据,将收集的数据输入至训练好的LSTM深度学习模型中,获得预设的重构阈值。104: Collect the spectrum occupancy data of the overall path in the optical network, input the collected data into the trained LSTM deep learning model, and obtain a preset reconstruction threshold.
105:判断所述时间差是否达到所述预设的重构阈值,根据判断结果进行分配路径。105: Determine whether the time difference reaches the preset reconstruction threshold, and allocate paths according to the determination result.
可见,通过上述方法,重构阈值随着业务的不断到来可以对光网络实时高效的进行动态优化,从而缓解因为网络流量波动或者承载业务量过多而导致的业务阻塞。It can be seen that through the above method, the reconfiguration threshold can dynamically optimize the optical network in real time and efficiently with the continuous arrival of services, thereby alleviating service congestion caused by network traffic fluctuations or excessive traffic loads.
在本说明书一个或多个实施例中,均应用到了一用于预测预设的重构阈值的LSTM深度学习模型。该LSTM深度学习模型需要通过训练以实现预测预设的重构阈值的功能。相应的,该LSTM预测模型的训练方法步骤如下所示:In one or more embodiments of this specification, an LSTM deep learning model for predicting a preset reconstruction threshold is applied. The LSTM deep learning model needs to be trained to realize the function of predicting the preset reconstruction threshold. Correspondingly, the training method steps of the LSTM prediction model are as follows:
步骤1:采集网络中历史的频谱占用状况信息和业务信息;Step 1: Collect historical spectrum occupancy information and service information in the network;
步骤2:将采集到的历史网络频谱占用数据和业务信息按照时间序列生成频谱矩阵S与业务矩阵R,包括在时间序列t1、t2至tn下,得到对应的频谱矩阵S1、S2至Sn和业务矩阵R1、R2至Rn;Step 2: Generate the spectrum matrix S and service matrix R according to the time series from the collected historical network spectrum occupancy data and business information, including the time series t 1 , t 2 to t n , and obtain the corresponding spectrum matrices S 1 , S 2 to S n and service matrices R 1 , R 2 to R n ;
其中,网络路由节点依次为x1,x2至xn;当前时刻链路频谱占用率矩阵S:Among them, the network routing nodes are x 1 , x 2 to x n in turn; the link spectrum occupancy matrix S at the current moment:
其中任意的表示网络中路由节点xi与xj之间链路的频谱占用状况,若节点xi与xj不直连,那么为0,若节点xi与xj直连且频谱占用率为0,那么为1;已部署业务矩阵R:any of them Indicates the spectrum occupancy status of the link between routing nodes x i and x j in the network. If nodes x i and x j are not directly connected, then is 0, if node x i is directly connected to x j and the spectrum occupancy rate is 0, then is 1; deployed business matrix R:
其中业务矩阵R中的分别代表业务Ri的源节点和宿节点;代表业务Ri所需的频谱资源;代表业务Ri的剩余时间;Pi代表业务Ri的工作路径。业务矩阵随着业务的到来和离去随时更新。Among them, in the business matrix R represent the source node and the sink node of the service R i respectively; Represents the spectrum resource required by service R i ; Represents the remaining time of service R i ; P i represents the working path of service R i . The business matrix is updated at any time with the arrival and departure of business.
步骤3:使用当前ti采集到的历史频谱矩阵Si和业务矩阵Ri当做输入数据输入LSTM预测模型,ti表示在所述时间序列t1、t2至tn中的任一时刻,使用ti的下一时刻ti+1的频谱矩阵Si+1和业务矩阵Ri+1作为标签数据,训练重构时间阈值的选取。Step 3: Use the historical spectrum matrix S i and business matrix R i collected at current t i as the input data into the LSTM prediction model, t i represents any moment in the time series t 1 , t 2 to t n , Use the spectrum matrix S i+1 and service matrix R i+1 at the next time t i +1 of t i as label data to train the selection of the reconstruction time threshold.
步骤4:根据每次ti输入的频谱矩阵和业务矩阵,将输出得到预测重构阈值进行模拟,根据使用该预测重构阈值得到的网络业务堵塞率来给预测得到的重构阈值进行打分。并将ti时刻得到的预测重构阈值当做输入信息,得到ti+1时刻的预测重构阈值进行模拟,打分,输入,直至结束。Step 4: According to the spectrum matrix and service matrix input each time t i , simulate the output predicted reconstruction threshold, and score the predicted reconstruction threshold according to the network traffic congestion rate obtained by using the predicted reconstruction threshold. The predicted reconstruction threshold obtained at time t i is used as input information, and the predicted reconstruction threshold obtained at time t i+1 is simulated, scored, and input until the end.
步骤5:重复步骤1至步骤4,不断地对LSTM模型进行反复训练,每次输入的历史数据虽然相同,但是LSTM模型会选取不同的预测重构阈值进行模拟并根据网络中业务阻塞率进行打分,反复测试选取得分最高的预测重构阈值,使得选取的重构阈值使得当前网络的阻塞率尽可能小,同时使得预测网络预测的下一时刻的输入数据和标签数据的差距尽可能小。从而使LSTM模型根据当前时刻输入的频谱矩阵和业务矩阵信息,获取最优的预设下一时刻的预测结果。Step 5: Repeat steps 1 to 4 to continuously train the LSTM model repeatedly. Although the historical data input each time is the same, the LSTM model will select different prediction reconstruction thresholds for simulation and score according to the traffic congestion rate in the network , repeated tests to select the prediction reconstruction threshold with the highest score, so that the selected reconstruction threshold makes the blocking rate of the current network as small as possible, and at the same time makes the gap between the input data and the label data at the next moment predicted by the prediction network as small as possible. In this way, the LSTM model can obtain the optimal preset prediction result at the next moment according to the input spectrum matrix and business matrix information at the current moment.
如图2所示,为本发明一个实施例的光网络路由优化方法具体步骤流程图,包括以下步骤:As shown in Figure 2, it is a flow chart of specific steps of an optical network routing optimization method according to an embodiment of the present invention, including the following steps:
201:业务请求到达,计算最优路径。光网络业务动态到达,解析业务属性,如源节点,宿节点,业务开始时间,业务持续时间,需要频谱数等;同时根据源宿节点用Dijkstra算法计算业务最优路径;201: The service request arrives, and the optimal path is calculated. Dynamic arrival of optical network services, analysis of service attributes, such as source node, sink node, service start time, service duration, number of spectrum required, etc.; at the same time, use Dijkstra algorithm to calculate the optimal service path according to the source and sink nodes;
202:判断链路频谱是否充足。沿着最优路径判断每段链路上的频谱资源是否充足,根据判断结果分为两种情况:202: Determine whether the link frequency spectrum is sufficient. Judging whether the spectrum resource on each link is sufficient along the optimal path can be divided into two situations according to the judgment result:
若最优路径链路上频谱充足,跳过下列步骤,执行步骤208;If the frequency spectrum on the optimal path link is sufficient, skip the following steps and go to step 208;
若最优路径某段链路上频谱不足,执行步骤203;If the frequency spectrum on a certain link of the optimal path is insufficient, perform
203:获取时间差。获取最优路径上堵塞路段的业务集合,筛选出满足待部署业务所需频谱数的已部署业务,然后选取剩余时间最小的业务,获取其剩余时间Tend;计算待部署业务的持续时间Thold与Tend的时间差Tr;203: Obtain a time difference. Obtain the service set of the congested road section on the optimal path, filter out the deployed services that meet the number of spectrum required by the service to be deployed, then select the service with the smallest remaining time, and obtain its remaining time T end ; calculate the duration T hold of the service to be deployed time difference T r with T end ;
204:部署待重构业务。构造虚拟拓扑,将频谱资源不足的堵塞链路在虚拟拓扑中断开,再使用Dijkstra算法为待重构业务进行算路,在次优路径上部署业务;204: Deploy the service to be reconfigured. Construct a virtual topology, disconnect the congested link with insufficient spectrum resources in the virtual topology, and then use the Dijkstra algorithm to calculate the path for the service to be reconfigured, and deploy the service on the suboptimal path;
205:使用LSTM深度学习模型。首先收集当前网络中的整体链路频谱数据,使用当前时刻网络中的链路频谱占用率矩阵S和已部署业务矩阵R作为输入数据。然后将矩阵S与R输入预训练好的LSTM深度学习模型,获得预设的下一时刻的重构时间阈值TTH;205: Use LSTM deep learning model. Firstly, the overall link spectrum data in the current network is collected, and the link spectrum occupancy matrix S and the deployed service matrix R in the network at the current moment are used as input data. Then input the matrix S and R into the pre-trained LSTM deep learning model to obtain the preset reconstruction time threshold T TH at the next moment;
206:判断是否进行业务重构。判断时间差Tr与下一时刻重构时间阈值TTH,根据判断结果分为两种情况:206: Determine whether to perform service reconstruction. Judging the time difference T r and the reconstruction time threshold T TH at the next moment, there are two cases according to the judgment result:
若时间差Tr不满足重构时间阈值TTH,流程结束;If the time difference T r does not meet the reconstruction time threshold T TH , the process ends;
若时间差Tr满足重构时间阈值TTH,执行步骤207;If the time difference T r satisfies the reconstruction time threshold T TH , go to step 207;
207:业务重构。待重构业务在次优路径经过步骤203筛选的已部署业务的剩余时间Tend时间后,筛选的已部署业务离去,链路频谱资源状态信息更新,进行业务重构,执行步骤208;首先筛选的已部署业务离去,链路频谱资源状态信息更新,然后使用First-Fit算法在最优路径上选择、分配频谱资源,实现待重构业务部署;207: Business reconstruction. After the service to be reconfigured passes through the remaining time T end of the deployed service screened in
208:业务部署。使用First-Fit算法为业务合理选择、分配链路频谱资源,更新路径上的频谱状态信息,流程结束。208: Service deployment. Use the First-Fit algorithm to reasonably select and allocate link spectrum resources for services, update the spectrum status information on the path, and the process ends.
基于上述方法,本说明书一个或多个实施例还提供了一种6节点,8链路的拓扑网络优化方法,包括:Based on the above method, one or more embodiments of this specification also provide a 6-node, 8-link topology network optimization method, including:
如图3所示,为本发明一个实施例的光网络拓扑图,其优化方法具体步骤为:As shown in Figure 3, it is an optical network topology diagram of an embodiment of the present invention, and the specific steps of its optimization method are:
首先在图3的6节点,8链路的拓扑网络下进行深度学习模型的训练:First, the deep learning model is trained under the topology network of 6 nodes and 8 links in Figure 3:
步骤1:采集网络中历史的频谱占用状况信息和业务信息,其中参数包括各个时刻链路频谱占用率;已部署业务的源节点,宿节点,所需的频谱资源,剩余时间以及工作路径。Step 1: Collect historical spectrum occupancy status information and service information in the network. The parameters include the link spectrum occupancy rate at each moment; the source node, sink node, required spectrum resource, remaining time and working path of the deployed service.
步骤2:获取历史的频谱矩阵和业务矩阵,在ti,ti+1,…,ti+n时刻生成一个6×6的链路频谱占用率矩阵Si:Step 2: Obtain the historical spectrum matrix and service matrix, and generate a 6×6 link spectrum occupancy matrix S i at time t i , t i+1 , ..., t i+n :
以及已部署业务矩阵Ri:And the deployed business matrix R i :
步骤3:此时获取了用于训练模型的原始数据,即时间序列ti,ti+1,…,ti+n下的链路频谱占用率矩阵Si,Si+1,…,Si+n和已部署业务矩阵Ri,Ri+1,…,Ri+n。将原始数据输入LSTM。Step 3: At this time, the original data used for training the model is obtained, that is, the link spectrum occupancy matrix S i , S i+1 , ..., under the time series t i , t i+1 , ..., t i+n S i+n and deployed service matrices R i , R i+1 , . . . , R i+n . Feed raw data into LSTM.
步骤4:假设第k次训练,时刻ti,ti+1,…,ti+n获取的重构阈值为分别进行模拟,根据业务阻塞率进行打分。Step 4: Assuming the kth training, the reconstruction threshold obtained at time t i , t i+1 , ..., t i+n is Simulate separately and score according to the service blocking rate.
步骤5:重复步骤1-4,不断地对LSTM模型进行反复训练,使得选取的重构阈值使得下一时刻当前网络的阻塞率尽可能小。使LSTM模型根据当前时刻输入的频谱矩阵和业务矩阵信息,获取最优的预设下一时刻的预测结果,此时LSTM模型训练完成。Step 5: Repeat steps 1-4 to continuously train the LSTM model repeatedly, so that the selected reconstruction threshold makes the blocking rate of the current network at the next moment as small as possible. Make the LSTM model obtain the optimal preset prediction result at the next moment according to the input spectrum matrix and business matrix information at the current moment, and the LSTM model training is completed at this time.
在模型预训练完成之后,业务到来后按照下列步骤完成请求:After the model pre-training is completed, follow the steps below to complete the request after the business arrives:
步骤1:业务请求r到达,解析该请求属性,假设该业务从节点1到节点6,其业务持续时间为Thold,需要频谱数为Ns,通过Dijkstra算法算出最优路径为1-2-4-6;Step 1: The service request r arrives, analyze the request attributes, assuming that the service is from
步骤2:判断路径1-2-4-6上的频谱数是否满足业务r所需要的频谱数Ns,假设链路2-4由于业务量较大,频谱资源不足以部署业务r,因此需要判断业务r是否需要重构;若1-2-4-6上的频谱数满足业务r所需要的频谱数Ns,直接执行步骤8;Step 2: Determine whether the number of spectrums on path 1-2-4-6 satisfies the number N s of spectrums required by service r. Assume that link 2-4 has insufficient spectrum resources to deploy service r because of its large traffic volume. Determine whether service r needs to be reconfigured; if the number of spectrums on 1-2-4-6 meets the number N s of spectrums required by service r, directly perform step 8;
步骤3:由于链路2-4堵塞,此时在链路2-4上筛选出满足业务r所需频谱数Ns的业务,假设此时链路2-4上存在ra和rb两个业务的频谱数大于Ns,其剩余时间为和假设因此计算得出时间差 Step 3: Since the link 2-4 is congested, at this time, filter out the service that satisfies the spectrum number N s required by the service r on the link 2-4, assuming that there are r a and r b on the link 2-4 The spectrum number of a business is greater than N s , and the remaining time is and suppose Therefore, the calculated time difference
步骤4:如图4所示,为本实施例的网络虚拟拓扑图,构造虚拟拓扑,将频谱资源不足的堵塞链路在虚拟拓扑中断开,使用Dijkstra算法为业务r进行算路,则最优路径为1-2-3-5-6,且该路径经过判断可以成功部署业务r;Step 4: As shown in Figure 4, it is the network virtual topology diagram of this embodiment, construct a virtual topology, disconnect the congested link with insufficient spectrum resources in the virtual topology, and use the Dijkstra algorithm to calculate the path for the service r, then the most The optimal path is 1-2-3-5-6, and this path can successfully deploy service r after judgment;
步骤5:首先收集当前网络中的整体链路频谱数据,获取当前时刻网络中的链路频谱占用率矩阵和已部署业务矩阵作为输入数据,然后,将矩阵S与R输入预训练好的LSTM深度学习模型,获得预设的下一时刻的重构时间阈值TTH;Step 5: First collect the overall link spectrum data in the current network, obtain the link spectrum occupancy matrix and the deployed service matrix in the network at the current moment as input data, and then input the matrix S and R into the pre-trained LSTM depth Learning the model to obtain a preset reconstruction time threshold T TH at the next moment;
步骤6:判断时间差Tr与预设的重构时间阈值TTH的大小,若Tr>TTH,执行步骤7,若Tr<TTH,流程结束;Step 6: Determine the size of the time difference T r and the preset reconstruction time threshold T TH , if T r >T TH , execute step 7, if T r <T TH , the process ends;
步骤7:业务r在路径1-2-3-5-6上经过时间后,链路2-4上的业务ra离去,释放频谱资源,业务r进行业务重构,在次优路径1-2-3-5-6上搬移到最优路径1-2-4-6,执行步骤8;Step 7: Business r passes time on path 1-2-3-5-6 Afterwards, service r a on link 2-4 leaves, releases spectrum resources, service r performs service reconstruction, and moves to the optimal path 1-2-4 on the suboptimal path 1-2-3-5-6 -6, execute step 8;
步骤8:使用First-Fit算法为业务r合理选择、分配链路频谱资源,更新路径上的频谱状态信息,流程结束。Step 8: Use the First-Fit algorithm to reasonably select and allocate link spectrum resources for service r, update the spectrum status information on the path, and the process ends.
基于同一发明构思,与上述任意实施例方法相对应的,本说明书一个或多个实施例还提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现上任意一实施例所述的基于LSTM深度学习的光网络路由优化方法。Based on the same inventive concept, corresponding to any method in any of the above embodiments, one or more embodiments of this specification also provide an electronic device, including a memory, a processor, and a computer stored on the memory and capable of running on the processor A program, when the processor executes the program, implements the optical network routing optimization method based on LSTM deep learning described in any one of the above embodiments.
图5示出了本实施例所提供的一种更为具体的电子设备硬件结构示意图,该设备可以包括:处理器1010、存储器1020、输入/输出接口1030、通信接口1040和总线1050。其中处理器1010、存储器1020、输入/输出接口1030和通信接口1040通过总线1050实现彼此之间在设备内部的通信连接。FIG. 5 shows a schematic diagram of a more specific hardware structure of an electronic device provided by this embodiment. The device may include: a
处理器1010可以采用通用的CPU(Central Processing Unit,中央处理器)、微处理器、应用专用集成电路(Application Specific Integrated Circuit,ASIC)、或者一个或多个集成电路等方式实现,用于执行相关程序,以实现本说明书实施例所提供的技术方案。The
存储器1020可以采用ROM(Read Only Memory,只读存储器)、RAM(Random AccessMemory,随机存取存储器)、静态存储设备,动态存储设备等形式实现。存储器1020可以存储操作系统和其他应用程序,在通过软件或者固件来实现本说明书实施例所提供的技术方案时,相关的程序代码保存在存储器1020中,并由处理器1010来调用执行。The
输入/输出接口1030用于连接输入/输出模块,以实现信息输入及输出。输入输出/模块可以作为组件配置在设备中(图中未示出),也可以外接于设备以提供相应功能。其中输入设备可以包括键盘、鼠标、触摸屏、麦克风、各类传感器等,输出设备可以包括显示器、扬声器、振动器、指示灯等。The input/
通信接口1040用于连接通信模块(图中未示出),以实现本设备与其他设备的通信交互。其中通信模块可以通过有线方式(例如USB、网线等)实现通信,也可以通过无线方式(例如移动网络、WIFI、蓝牙等)实现通信。The
总线1050包括一通路,在设备的各个组件(例如处理器1010、存储器1020、输入/输出接口1030和通信接口1040)之间传输信息。
需要说明的是,尽管上述设备仅示出了处理器1010、存储器1020、输入/输出接口1030、通信接口1040以及总线1050,但是在具体实施过程中,该设备还可以包括实现正常运行所必需的其他组件。此外,本领域的技术人员可以理解的是,上述设备中也可以仅包含实现本说明书实施例方案所必需的组件,而不必包含图中所示的全部组件。It should be noted that although the above device only shows the
上述实施例的电子设备用于实现前述任一实施例中相应的基于LSTM深度学习的光网络路由优化方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The electronic device in the above embodiments is used to implement the corresponding LSTM deep learning-based optical network routing optimization method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
基于同一发明构思,与上述任意实施例方法相对应的,本说明书一个或多个实施例还提供了一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行如上任一实施例所述的基于LSTM深度学习的光网络路由优化方法。Based on the same inventive concept, corresponding to the method in any of the above embodiments, one or more embodiments of this specification also provide a non-transitory computer-readable storage medium, the non-transitory computer-readable storage medium stores computer instructions The computer instructions are used to make the computer execute the optical network routing optimization method based on LSTM deep learning as described in any one of the above embodiments.
本实施例的计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。The computer-readable medium in this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. Information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory or other memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridge, tape magnetic disk storage or other magnetic storage device or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
上述实施例的存储介质存储的计算机指令用于使所述计算机执行如上任一实施例所述的基于LSTM深度学习的光网络路由优化方法,并且具有相应的方法实施例的有益效果,在此不再赘述。The computer instructions stored in the storage medium of the above embodiments are used to make the computer execute the optical network routing optimization method based on LSTM deep learning as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which are not described here. Let me repeat.
从上面所述可以看出,本发明应用深度学习中的LSTM预测模型,基于光网络链路中频谱状态信息与业务信息来实时更新预测的最佳重构阈值,不是针对单一目标参数进行优化,同时不需要使用流量矩阵作为深度学习算法的输入,更加符合真实场景状况。同时重构阈值根据动态业务到来实时更新变化,可以时时刻刻使网络处于当前最优的情况,充分考虑重构的概率与频率,可以很好地改变网络性能。It can be seen from the above that the present invention applies the LSTM prediction model in deep learning to update the predicted optimal reconstruction threshold in real time based on the spectrum status information and service information in the optical network link, instead of optimizing for a single target parameter. At the same time, there is no need to use the traffic matrix as the input of the deep learning algorithm, which is more in line with the real scene situation. At the same time, the reconstruction threshold is updated and changed in real time according to the arrival of dynamic services, which can keep the network in the current optimal situation all the time, fully consider the probability and frequency of reconstruction, and can well change the network performance.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other implementations are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. Multitasking and parallel processing are also possible or may be advantageous in certain embodiments.
所属领域的普通技术人员应当理解:以上任何实施例的讨论仅为示例性的,并非旨在暗示本公开的范围(包括权利要求)被限于这些例子;在本公开的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本说明书一个或多个实施例的不同方面的许多其它变化,为了简明它们没有在细节中提供。Those of ordinary skill in the art should understand that: the discussion of any of the above embodiments is exemplary only, and is not intended to imply that the scope of the present disclosure (including claims) is limited to these examples; under the idea of the present disclosure, the above embodiments or Combinations can also be made between technical features in different embodiments, steps can be implemented in any order, and there are many other variations of the different aspects of one or more embodiments of this specification as described above, which are not included in the details for the sake of brevity. supply.
本说明书一个或多个实施例旨在涵盖落入所附权利要求的宽泛范围之内的所有这样的替换、修改和变型。因此,凡在本说明书一个或多个实施例的精神和原则之内,所做的任何省略、修改、等同替换、改进等,均应包含在本公开的保护范围之内。The description of one or more embodiments is intended to embrace all such alterations, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omission, modification, equivalent replacement, improvement, etc. made within the spirit and principles of one or more embodiments of this specification shall fall within the protection scope of the present disclosure.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011112574.XA CN112560204B (en) | 2020-10-16 | 2020-10-16 | Optical network route optimization method based on LSTM deep learning and related device thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011112574.XA CN112560204B (en) | 2020-10-16 | 2020-10-16 | Optical network route optimization method based on LSTM deep learning and related device thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112560204A CN112560204A (en) | 2021-03-26 |
CN112560204B true CN112560204B (en) | 2023-01-10 |
Family
ID=75042823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011112574.XA Active CN112560204B (en) | 2020-10-16 | 2020-10-16 | Optical network route optimization method based on LSTM deep learning and related device thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112560204B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113435567B (en) * | 2021-06-25 | 2023-07-07 | 广东技术师范大学 | Intelligent topology reconstruction method based on traffic prediction, electronic equipment, storage medium |
CN113452629B (en) * | 2021-07-15 | 2022-06-14 | 深圳市高德信通信股份有限公司 | Route switching system |
CN114745618B (en) * | 2022-04-11 | 2024-03-22 | 重庆邮电大学 | A free space optical data center network architecture, topology reconstruction system and method |
CN116032835A (en) * | 2022-12-28 | 2023-04-28 | 中电信数智科技有限公司 | Recommended route selection calculation method and device for customer service route |
CN116137630B (en) * | 2023-04-19 | 2023-08-18 | 井芯微电子技术(天津)有限公司 | Method and device for quantitatively processing network service demands |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103581006A (en) * | 2012-08-10 | 2014-02-12 | 北京邮电大学 | System architecture for global optimization of flexible grid optical networks and global optimization method thereof |
EP3343815B1 (en) * | 2016-12-29 | 2019-05-08 | Xieon Networks S.à r.l. | Method and system for assigning resources in optical transport networks |
CN109450587B (en) * | 2018-10-24 | 2020-01-24 | 北京邮电大学 | Spectrum integration processing method, device and storage medium |
CN109617752B (en) * | 2019-02-01 | 2021-06-01 | 苏州大学 | Spectrum resource transaction method and system for virtual optical network |
CN111586502B (en) * | 2020-03-26 | 2021-06-15 | 北京邮电大学 | Resource allocation method and system in elastic optical network |
-
2020
- 2020-10-16 CN CN202011112574.XA patent/CN112560204B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN112560204A (en) | 2021-03-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112560204B (en) | Optical network route optimization method based on LSTM deep learning and related device thereof | |
CN112153700B (en) | Network slice resource management method and equipment | |
Naas et al. | An extension to ifogsim to enable the design of data placement strategies | |
CN104869151A (en) | Business unloading method and system | |
CN113472844B (en) | Edge computing server deployment method, device and equipment for Internet of vehicles | |
CN114268371B (en) | Quantum channel resource allocation method and device and electronic equipment | |
CN114745317A (en) | Computing task scheduling method and related equipment for computing power network | |
CN114205317A (en) | Service function chain SFC resource allocation method based on SDN and NFV and electronic equipment | |
CN111641556A (en) | Routing resource allocation method and device of optical network | |
CN113300861B (en) | Network slice configuration method, device and storage medium | |
CN109905784B (en) | A service reconstruction method and device for wavelength allocation of optical network | |
WO2021115082A1 (en) | Job scheduling method and job scheduling apparatus | |
CN113422726B (en) | Service chain deployment method and device, storage medium and electronic equipment | |
CN114186750A (en) | Routing planning method and device for hierarchical requirements of power business of smart power grid | |
CN114362929A (en) | Protection method, device and electronic device based on quantum key distribution network | |
CN111800352B (en) | Service function chain deployment method and storage medium based on load balancing | |
CN112491741A (en) | Virtual network resource allocation method and device and electronic equipment | |
CN115622932B (en) | Calculation power scheduling method and device, electronic equipment and storage medium | |
CN111010627B (en) | Route distribution method and device applied to hybrid grid optical network | |
US9391875B2 (en) | Resource oriented dependency graph for network configuration | |
CN109450587B (en) | Spectrum integration processing method, device and storage medium | |
CN113301583B (en) | Network slice remapping method, device and storage medium | |
KR101558807B1 (en) | Processor scheduling method for the cooperation processing between host processor and cooperation processor and host processor for performing the method | |
CN114978913B (en) | A method and system for cross-domain deployment of service function chains based on chain cutting | |
CN105515714A (en) | Network upgrading perception protection method |
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 |