CN118233358A - Method and device for determining path and electronic equipment - Google Patents

Method and device for determining path and electronic equipment Download PDF

Info

Publication number
CN118233358A
CN118233358A CN202211600742.9A CN202211600742A CN118233358A CN 118233358 A CN118233358 A CN 118233358A CN 202211600742 A CN202211600742 A CN 202211600742A CN 118233358 A CN118233358 A CN 118233358A
Authority
CN
China
Prior art keywords
path
transmission path
link
notification
network
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.)
Pending
Application number
CN202211600742.9A
Other languages
Chinese (zh)
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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202211600742.9A priority Critical patent/CN118233358A/en
Publication of CN118233358A publication Critical patent/CN118233358A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a method and a device for determining a path and electronic equipment, which are used for improving the path calculation efficiency. The method comprises the following steps: determining a pre-stored path set based on the acquired network topology, and storing the pre-stored path set; wherein the pre-stored path set comprises a transmission path and performance parameters corresponding to the transmission path; receiving a path request; wherein the path request includes a constraint indicating a requirement for the transmission quality of the transmission path; at least one first selectable path is selected from the set of pre-stored paths based on the constraints in the path request.

Description

Method and device for determining path and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for determining a path, and an electronic device.
Background
In a network architecture for centrally determining paths, transmission paths for implementing traffic forwarding are accomplished by means of a set of system-intensive calculations. For example, a software defined network (English: software Defined Network, abbreviation SDN). The core of the SDN controller is that the control plane is separated from the forwarding plane, the control plane completely controls the forwarding behavior, so that the equipment is focused on the forwarding function in the network, and the SDN controller is used for calculating the path and managing the path to guide the flow forwarding.
In the network architecture for intensively determining paths, after receiving a path calculation request of a user, a controller calculates paths meeting conditions based on network topology, sends preferred paths to source nodes of the path calculation, completes the path calculation, and realizes forwarding of user data according to the designated paths. Obviously, the above-mentioned method of determining paths in a centralized manner is used as a NP (Non-DETERMINISTIC POLYNOMIAL, abbreviated as Non-deterministic polynomial) problem, and there is no better solution, so that a user needs to calculate a path once, which may take several seconds, especially when a larger network scale is faced, it is difficult to avoid that the user service is affected due to too long time for calculating the path, or a problem occurs in network scheduling.
Disclosure of Invention
The application provides a method, a device and electronic equipment for determining a path, which are used for improving the path calculation efficiency so as to quickly respond to a path request.
In a first aspect, an embodiment of the present application provides a method for determining a path, including:
Determining a pre-stored path set based on the acquired network topology, and storing the pre-stored path set; wherein the pre-stored path set comprises a transmission path and performance parameters corresponding to the transmission path;
Receiving a path request; wherein the path request includes a constraint indicating a requirement for the transmission quality of the transmission path;
At least one first selectable path is selected from the set of pre-stored paths based on the constraints in the path request.
One possible implementation way, the network topology is acquired;
Determining, in the network topology, the transmission path and a performance parameter corresponding to the transmission path;
And according to the network edge equipment in the transmission path, arranging the transmission path to obtain a pre-stored path set.
A possible implementation manner, the determining a pre-stored path set based on the acquired network topology includes:
receiving a first notification indicating a change in the network topology; wherein the first notification comprises a first new notification and/or a first deletion notification;
Updating the transmission paths in the pre-stored path set and the performance parameters of the transmission paths in response to the first new notification and/or the first deletion notification; wherein the first addition notification includes at least one of an addition first network edge device, an addition first network core device, and an addition first link, and the first deletion notification includes at least one of a deletion second network edge device, a deletion second network core device, and a deletion second link.
A possible implementation manner, after the updating of the transmission path and the performance parameters of the transmission path, includes:
in the pre-stored path set, determining any transmission path with the lowest performance parameter in the same transmission paths of the network edge equipment;
Deleting the transmission path with the lowest performance parameter, and adding the updated transmission path and the performance parameter of the updated transmission path to the pre-stored path set.
In a possible implementation manner, the first notification includes a first new notification, and the updating the performance parameters of the transmission path and the transmission path in response to the first new notification and/or a first deletion notification includes:
adding the first network edge device and/or the first link and a first identification corresponding to the first network edge device and/or the first link in the network topology; the first mark comprises a newly added mark and the adding moment of the first mark;
Determining a first duration for adding the first identifier based on the adding time of the first identifier;
and updating the performance parameters of the transmission path and the transmission path based on the first network edge device and/or the first link in response to the first time period being greater than or equal to a preset aging threshold.
In a possible implementation manner, the first notification includes a first deletion notification, and the updating the performance parameters of the transmission path and the transmission path in response to the first addition notification and/or the first deletion notification includes:
Adding a second identification for the second network edge device and/or the second link in the network topology; wherein the second identifier comprises a deletion identifier and an adding moment of the second identifier;
determining a second duration for adding the second identifier based on the adding time of the second identifier;
and deleting the second network edge equipment and/or the second link in the network topology and updating the transmission path and the performance parameters of the updated transmission path in response to the second time length being greater than or equal to the preset aging threshold.
A possible implementation manner, before the updating the performance parameters of the transmission path and the updated transmission path, the method further includes:
receiving a second deletion notification indicating a change in the network topology;
Determining network core devices at both ends of a third link in the network topology in response to the second deletion notification comprising deleting the third link;
in response to the third link being different from the first link, adding a third identifier to network core devices at both ends of the third link; wherein, the third mark comprises a deletion mark and an adding moment of the third mark; or alternatively
Responsive to the third link being different from the first link, the first link and the first identification corresponding to the first link are deleted in the network topology.
A possible implementation manner, before the updating the performance parameters of the transmission path and the updated transmission path, the method further includes:
receiving a second newly added notification indicating a change in the network topology;
determining, in response to the second addition notification including an addition of a third network edge device, whether the third network edge device is the same as the second network edge device;
if yes, deleting the second network edge device and the second identifier corresponding to the second network edge device in the network topology;
If not, adding the third network edge device and a fourth identifier corresponding to the third network edge device in the network topology; the fourth identifier comprises a new identifier and an adding moment of the fourth identifier.
A possible implementation manner, after selecting at least one first selectable path in the pre-stored path set, the method further includes:
receiving a third notification; wherein the third notification indicates that at least one link in the first alternative path has changed;
determining a degraded link based on the third notification and service level agreement, and determining a second alternative path excluding the degraded link from the first alternative paths; wherein, the performance parameter of the degraded link does not meet the preset reference value corresponding to the constraint condition;
Updating the first alternate path with the second alternate path.
A possible implementation manner, before the storing the pre-stored path set, further includes:
Determining a storage threshold of a controller and a required space of the transmission path and the performance parameter; wherein the storage threshold is not greater than a storage space of the controller;
Determining candidate transmission paths in the same transmission paths of the network edge equipment in response to the required space being larger than the storage space; wherein at least one of the performance parameters of the candidate transmission paths is lower than a corresponding preset reference value; the performance parameter is the hop count of the transmission path, the bandwidth of the transmission path, the time delay of the transmission path or the packet loss rate of the transmission path;
deleting at least one candidate transmission path to ensure that the required space of the residual transmission path and the performance parameters of the residual transmission path is not larger than the storage space;
Said storing said set of pre-stored paths comprises:
and storing the residual transmission paths and performance parameters of the residual transmission paths to obtain the pre-stored path set.
In a second aspect, an embodiment of the present application provides an apparatus for determining a path, including:
Aggregation unit: the method comprises the steps of determining a pre-stored path set based on an acquired network topology, and storing the pre-stored path set; wherein the pre-stored path set comprises a transmission path and performance parameters corresponding to the transmission path;
A receiving unit: for receiving a path request; wherein the path request includes a constraint indicating a requirement for the transmission quality of the transmission path;
the selecting unit: for selecting at least one first alternative path in the set of pre-stored paths based on the constraints in the path request.
A possible implementation manner, the aggregation unit is specifically configured to obtain the network topology; determining, in the network topology, the transmission path and a performance parameter corresponding to the transmission path; and according to the network edge equipment in the transmission path, arranging the transmission path to obtain a pre-stored path set.
A possible implementation, the aggregation unit is further configured to receive a first notification indicating a change in the network topology; wherein the first notification includes an indication of a first new notification and/or a first deletion notification; updating the transmission paths in the pre-stored path set and the performance parameters of the transmission paths in response to the first new notification and/or the first deletion notification; wherein the first addition notification includes at least one of an addition first network edge device, an addition first network core device, and an addition first link, and the first deletion notification includes at least one of a deletion second network edge device, a deletion second network core device, and a deletion second link.
In a possible implementation manner, the device for determining a path further includes a deletion unit, where the deletion unit is specifically configured to determine, in the pre-stored path set, any one of the transmission paths with the same network edge device, where the performance parameter is the lowest; deleting the transmission path with the lowest performance parameter, and adding the updated transmission path and the performance parameter of the updated transmission path to the pre-stored path set.
A possible implementation manner, the first notification includes a first new notification, and the aggregation unit is further configured to add the first network edge device and/or the first link, and a first identifier corresponding to the first network edge device and/or the first link, in the network topology; the first mark comprises a newly added mark and the adding moment of the first mark; determining a first duration for adding the first identifier based on the adding time of the first identifier; and updating the performance parameters of the transmission path and the transmission path based on the first network edge device and/or the first link in response to the first time period being greater than or equal to a preset aging threshold.
A possible implementation manner, the first notification includes a first deletion notification, and the aggregation unit is further configured to add a second identifier to the second network edge device and/or the second link in the network topology; wherein the second identifier comprises a deletion identifier and an adding moment of the second identifier; determining a second duration for adding the second identifier based on the adding time of the second identifier; and deleting the second network edge equipment and/or the second link in the network topology and updating the transmission path and the performance parameters of the updated transmission path in response to the second time length being greater than or equal to the preset aging threshold.
A possible implementation manner, the aggregation unit is further configured to receive a second deletion notification indicating the network topology change; determining network core devices at both ends of a third link in the network topology in response to the second deletion notification comprising deleting the third link; in response to the third link being different from the first link, adding a third identifier to network core devices at both ends of the third link; wherein, the third mark comprises a deletion mark and an adding moment of the third mark; or deleting the first link and the first identification corresponding to the first link in the network topology in response to the third link being the same as the first link.
A possible implementation manner, the aggregation unit is further configured to receive a second newly added notification indicating the network topology change; determining, in response to the second addition notification including an addition of a third network edge device, whether the third network edge device is the same as the second network edge device; if yes, deleting the second network edge device and the second identifier corresponding to the second network edge device in the network topology; if not, adding the third network edge device and a fourth identifier corresponding to the third network edge device in the network topology; the fourth identifier comprises a new identifier and an adding moment of the fourth identifier.
In a possible embodiment, the apparatus for determining a path further comprises a degradation unit, in particular for receiving a third notification; wherein the third notification indicates that at least one link in the first alternative path has changed; determining a degraded link based on the third notification and service level agreement, and determining a second alternative path excluding the degraded link from the first alternative paths; wherein, the performance parameter of the degraded link does not meet the preset reference value corresponding to the constraint condition; updating the first alternate path with the second alternate path.
In a possible implementation manner, the device for forwarding the traffic further comprises a storage unit, wherein the storage unit is specifically configured to determine a storage threshold value of a controller, and a required space of the transmission path and the performance parameter; wherein the storage threshold is not greater than a storage space of the controller; determining candidate transmission paths in the same transmission paths of the network edge equipment in response to the required space being larger than the storage space; wherein at least one of the performance parameters of the candidate transmission paths is lower than a corresponding preset reference value; the performance parameter is the hop count of the transmission path, the bandwidth of the transmission path, the time delay of the transmission path or the packet loss rate of the transmission path; deleting at least one candidate transmission path to ensure that the required space of the residual transmission path and the performance parameters of the residual transmission path is not larger than the storage space;
The aggregation unit is further configured to store the remaining transmission paths and performance parameters of the remaining transmission paths, to obtain the pre-stored path aggregation.
In a third aspect, embodiments of the present application provide a readable storage medium, comprising,
The memory device is used for storing the data,
The memory is configured to store instructions that, when executed by a processor, cause an apparatus comprising the readable storage medium to perform the method of the first aspect and any one of the possible implementations.
In a fourth aspect, an embodiment of the present application provides an electronic device, including:
A memory for storing a computer program;
A processor for executing the computer program stored on the memory to implement the method according to the first aspect and any one of the possible implementation manners.
The invention has the following beneficial effects:
(1) Before receiving a path request from a user, that is, according to the acquired network topology, a pre-stored path set is determined and stored, so that after receiving the path request, the controller can directly select an applicable optional path from the pre-stored path set calculated in advance according to constraint conditions in the path request, and path calculation is completed. The method for determining the path can effectively avoid the problems of low path calculation efficiency caused by the fact that the calculation time is long when the corresponding transmission path calculation is performed after the path request is received under the condition that the network scale is large or the path calculation constraint condition is complex.
(2) After receiving the notification indicating the network topology change, updating the transmission paths in the pre-stored path set according to the change content (deletion and/or addition) and the operation object indicated by the notification, so as to ensure that any transmission path determined by the pre-stored path set can forward traffic for the user after receiving the user request.
(3) In order to avoid network jitter, the problem that CPU resources of a controller are wasted and response speed or processing speed is reduced due to the fact that unnecessary updating of a transmission path is executed, after a notification indicating network topology change is received, corresponding marks are firstly carried out according to change content (deletion and/or addition) indicated by the notification and an operation object, after the marks meet a preset aging threshold, operations corresponding to the notification indicating change content are carried out, updating of the transmission path in a pre-stored path set is carried out, and therefore the influence of multiple new addition and deletion conditions of the same node or link in a short period on the controller when the network jitter is effectively avoided.
Drawings
Fig. 1 is a flow chart of a method for determining a path according to an embodiment of the present application;
Fig. 2 is a schematic diagram of a network topology according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for determining a pre-stored path set according to an embodiment of the present application;
fig. 4 is a schematic diagram of a pre-storing transmission paths for determining paths according to an embodiment of the present application;
FIG. 5 is a schematic diagram of storing a set of pre-stored paths using a matrix hash table according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a path determining apparatus according to an embodiment of the present application;
Fig. 7 is a schematic structural diagram of an electronic device for determining a path according to an embodiment of the present application.
Detailed Description
Aiming at the problem of low path calculation efficiency in the prior art, the embodiment of the application provides a method for determining a path, which comprises the following steps: based on the acquired network topology, a set of pre-stored paths is determined. The pre-stored path set includes each transmission path and performance parameters of each transmission path. Therefore, after receiving the path request of the user, the controller can compare the performance parameters of the transmission paths in the pre-stored path set according to the constraint conditions in the path request, and filter the performance parameters to determine the transmission path meeting the transmission requirement of the user. That is, the method for determining a path provided in the embodiment of the present application pre-calculates the transmission path and the performance parameter corresponding to the transmission path before receiving the path request of the user, so that the controller does not need to calculate the path after receiving the path request of the user, and only needs to screen the first alternative path meeting the path request from the pre-calculated pre-stored path set according to the constraint condition in the path request of the user, thereby avoiding the waiting time required for calculating the path after receiving the path request of the user in the prior art, and achieving the purpose of improving the path calculation efficiency.
In order to better understand the above technical solutions, the following description is first made with respect to related technical terms:
IPv 6-based segment routing (english: segment Routing IPv, abbreviation: SRv): consists of a Locator (position identifier), a Function and a Args (variable). SRv6 has both routing and MPLS forwarding attributes, and can combine the advantages of both forwarding technologies.
Border gateway protocol (english: border Gateway Protocol, abbreviation: BGP): a routing protocol for an autonomous system operating on a transmission control protocol (English: transmission Control Protocol, abbreviated: TCP). BGP may be used to handle protocols like internet-sized networks as well as to handle multiple connection protocols between unrelated routing domains. The primary function of BGP systems and other BGP systems slow down network reachability information. The network reachability information includes information of the listed autonomous systems (english: autonomous system, abbreviated: AS) that effectively construct a topology map of the AS interconnections (i.e., network topology), clear the routing loops, and implement policy decisions at the AS level.
Link state based on border gateway protocol (english: BGP Link-state, abbreviation: BGP-LS): a technique for collecting network topology information and reporting to a controller. The following two event notifications may be implemented using BGP-LS. The first is to collect topology information of each process or each AS and report the topology information to the controller. Meanwhile, when the topology changes, the phase joint points are reported to the controller in time. The second is to send link information or node information to the controller at regular time, so that the controller determines the condition of the network environment based on the SLA (SERVICE LEVEL AGREEMENT ) and timely detects the degradation of the network environment. Here, the degradation of the network environment means that parameters such as network delay, jitter, packet loss rate and the like/service quality are reduced to a certain lower limit value.
The following detailed description of the technical solutions of the present application will be given by way of the accompanying drawings and specific embodiments, and it should be understood that the specific features of the embodiments and embodiments of the present application are detailed descriptions of the technical solutions of the present application, and not limiting the technical solutions of the present application, and that the embodiments and technical features of the embodiments of the present application may be combined with each other without conflict.
Referring to fig. 1, the present application provides a method for determining a path, which is used to improve the efficiency of determining a path in a centralized path computation architecture, and the embodiment of the present application can be applied to, but is not limited to, SRv paths. For example, SRv can implement network programming through a flexible IPv6 extension header after the path is efficiently calculated by using the method for calculating a path according to the embodiment of the present application. The method specifically comprises the following implementation steps:
step 101: and determining a pre-stored path set based on the acquired network topology, and storing the pre-stored path set.
The network topology is composed of a plurality of network Edge devices (english: provider Edge, abbreviated: PE), and one or more network core devices (english: provider, abbreviated: P) are further included between the PEs, please refer to fig. 2.
The PE devices and the P devices described above may be collectively referred to as nodes, and the PE device at the start position on any one transmission path may be referred to as a source node, and the PE device at the end may be referred to as a destination node, depending on the direction of the (transmission) path. Therefore, the transmission path formed by any two PE devices can be divided into two transmission paths according to different directions.
The transmission path refers to all paths between any two PE devices. The pre-stored path set includes a transmission path and performance parameters corresponding to the transmission path.
The following is a detailed description of the determination of a set of pre-stored paths, please refer to fig. 3:
Step 301: the network topology is acquired.
Step 302: in a network topology, a transmission path and performance parameters of the transmission path are determined.
The transmission path is a path connecting any two network edge devices in the network topology. The performance parameter indicates the transmission quality of the transmission path when forwarding traffic.
Specifically, the controller collects link information according to BGP-LS, simple network management protocol (english: simple Network Management Protocol, abbreviated: SNMP), remote procedure call (english: remote Procedure Call, abbreviated: gRPC), and the like, to determine performance parameters of any transmission path in the network topology. The performance parameters include, but are not limited to, latency, cost, hop count; the cost value may be preset by the network planning stage.
Step 303: and according to the network edge equipment in the transmission path, arranging the transmission path to obtain a pre-stored path set.
Specifically, the structure of the pre-stored path set may be arbitrarily selected, including, but not limited to, a list structure, a tree structure, a key-value pair structure, a table structure, a matrix hash structure, and the like.
Further, the first function of reporting network topology change information based on the BGP-LS: and summarizing topology information of each process or each AS, and reporting the topology information to the controller. Meanwhile, when the topology changes, the phase joint points are reported to the controller in time. The controller may determine and adjust the transmission path and performance parameters of the transmission path based on the topology change notification reported by BGP-LS. The following is a specific description:
First, a first notification indicating a change in network topology is received based on BGP-LS. Wherein the first notification comprises a first addition notification and/or a first deletion notification.
Then, in response to the first addition notification and/or the first deletion notification, the transmission path and the performance parameters of the transmission path are updated. Wherein the first newly added notification may include at least one of a newly added first network edge device (PE device), a newly added first network core device (P device), and a newly added first link. The first deletion notification may include at least one of deleting the second network edge device (PE device), deleting the second network core device (P device), and deleting the second link. The number of nodes in the above-mentioned link is typically 2.
Generally, when the first new notification includes a new first P device notification, information about a link/transmission link in which the P device is connected to any PE device or P device in the current network topology may be redetermined, thereby redetermining a performance parameter of each transmission path. And the performance parameters of all transmission paths comprising the link are updated when a first new notification of a new first link comprising the first P device is received without responding to the notification, so that the problem of overlarge resource consumption caused by determining the link and the transmission paths obtained by respectively and independently connecting the P device with all nodes (P device and PE device) in the network topology is avoided.
Similarly, when the first deletion notification includes deleting the second P device notification, all the information including the links and transmission paths of the P device may be redetermined and updated. And because, unless an orphan node, after receiving the deletion notification of the P device, a second link notification including the deletion of the device is generally received. Therefore, after the notification of deleting the second link including the device, the transmission path including the link is deleted, so that the link and the device are deleted, and the problem of resource waste caused by too many transmission path updates due to a large number of deleted links is avoided.
Further, in the embodiment of the present application, only the first new notification and/or the first deletion notification about the PE device, and the first new notification and/or the first deletion notification about the link may be responded (i.e. updated accordingly); without responding to the first new notification and/or the first deletion notification for the P device to avoid unnecessary resource (e.g., CPU) consumption problems.
Before updating, in order to avoid the problem that unnecessary resources are consumed due to the fact that the notification such as 'new, delete, add and delete' is repeatedly received due to the reasons of network jitter and the like or the phenomenon of repeated notification such as 'delete, add, delete and add', the embodiment of the application does not immediately update the topology after receiving the notification of the topology change, but waits for an aging period of the node and/or the link; the node and/or link is the node or link indicated in the notification. If the state of the corresponding node (including PE equipment and P equipment, mainly PE equipment) is unchanged after the aging period is ended, the processing is not performed after the aging period is ended. The following is a detailed description:
When the first notification includes a first newly added notification, in response to the first notification, adding a first network edge device and/or a first link in the network topology, and to facilitate controller timing to complete the aging, adding a first identification to the first network edge device and/or the first link. The first mark comprises a newly added mark and the adding moment of the first mark. Here, whether the first network edge device or the first link is specifically added to the network topology is consistent with the indication in the first addition notification.
And then, based on the timing of the adding time of the first identifier, namely determining a first time length for adding the first identifier, and when the first time length is not smaller than a preset aging threshold value, determining that the first network edge device and/or the first link indicated in the first new notification is a stable newly added device/link, updating the performance parameters of the transmission path and the transmission path based on the first network edge device and/or the first link. The preset aging threshold is used for indicating an aging period.
Similarly, when the first notification includes a first delete notification; the first deletion notification includes deleting the second network edge device and/or deleting the second link, and then adding a second identification for the second network edge device and/or the second link in the network topology in response to the first notification; wherein the second identifier includes a deletion identifier and an addition time of the second identifier. It should be noted that, for the information about deleting a certain network edge device included in each received notification, the network edge device is an existing network edge device in the network topology that is not updated currently.
And then, determining a second duration for adding the second identifier according to the adding time of the second identifier.
And then, in response to the second duration not being less than the preset aging threshold, deleting the second network edge device and/or the second link in the network topology, and updating the transmission path and the performance parameters of the transmission path.
The updating is based on the first duration of the first identity from 0 to the satisfaction of a preset aging threshold, during which no notification is received by the controller about the first network edge device and/or the first link newly received. If during this time the controller receives notification about the corresponding device/link, actions should be taken in response to the notification indication to complete the aging of the device/link. Taking the first notification as a first new notification as an example, if during the period, based on BGP-LS, a second deletion notification indicating a change in network topology is received, different processing needs to be performed for a link deletion notification or a network edge device deletion notification indicated by the second deletion notification. Specifically, in response to the second deletion notification including deleting the third link, it is first determined whether the network core devices at both ends of the third link are still present in the network topology, and if any one or both ends of the third link (P device) are not present because the previous notification has been deleted, and at this time, the link is not present, the deletion identification is not made. If the network core equipment at the two ends of the third link is determined to be included in the network topology, a third identifier is determined to be added for the third link in the current network topology in response to the fact that the third link is different from the newly added first link in the first notification. The third identifier comprises a deletion identifier and an adding moment of the third identifier. Or in response to the third link being the same as the first link, deleting the aged first link and the first identification of the first link in the network topology.
Similarly, when the second deletion notification includes an indication of deletion of the network edge device, then the implementation steps described above consistent with deleting the third link notification indication may be performed. I.e. in response to the second deletion notification comprising the deletion of the fourth network edge device, the first network edge device and the first identification corresponding to the first network edge device may be deleted in the network topology in response to the fourth network edge device being identical to the first network edge device, since the first network edge device is still in an aging period. The resource consumption problem caused by starting to calculate the path immediately after the first notification is received is thereby avoided. Namely, the problem of resource waste caused by multiple unnecessary calculation paths due to the fact that the first network edge equipment is added and deleted after network jitter is avoided.
Further, if a second newly added notification is received before updating the transmission path and the performance parameters of the transmission path, the implementation step corresponding to the first notification or the second notification may be performed. That is, in response to the second addition notification including the newly added third network edge device, determining the third network edge device in the network topology first; if the edge device cannot be determined, indicating that the network edge device may have completed aging and is deleted, aging may be restarted with respect to the newly added third network edge device. In most cases, the aforementioned third network edge device may be determined in the network topology when the controller receives a node notification regarding the network edge device based on BGP-LS. Then it may be determined directly whether the third network edge device is identical to the second network edge device indicating deletion as described above.
If so, deleting the second network edge device and the second identifier corresponding to the second network edge device in the network topology, namely ending the aging of the second network edge device, and not performing any update or processing on the transmission path. If not, adding the third network edge device and a fourth identification corresponding to the third network edge device in the network topology. The fourth identifier comprises a new identifier and an adding moment of the fourth identifier. Or in response to the third network edge device being the same as the second network edge device.
The first notification, the second deletion notification, and the second addition notification are different from each other mainly in the time point received before the transmission path is updated. The implementation methods for deletion and addition may be the same. The first mark is different from the fourth mark except for the new mark or the deletion mark, and the main difference is that the adding time is different.
Further, since the memory space of the controller is limited, in order to avoid the problem that the CPU is not supported due to the too large space occupied by the pre-stored path set, the transmission path filtering may be determined before the pre-stored path set is stored. The following is a specific description:
First, the storage threshold of the controller, as well as the transmission path and the required space for the performance parameters, may be determined. Wherein the storage threshold is not greater than the storage space of the controller.
Then, in response to the demand space being greater than the storage space, the determination is based on the performance parameters to screen the transmission paths in order to avoid affecting the operating efficiency of the controller after storing all of the transmission paths and the performance parameters. And in the same transmission paths of the network edge equipment, namely the same transmission paths of the source node and the destination node, sequencing the transmission paths based on the performance parameters of the transmission paths so as to determine the transmission paths with any performance parameter lower than the corresponding preset reference value. Wherein the performance parameter of the transmission path includes one or more of a hop count of the transmission path, a bandwidth of the transmission path, a delay of the transmission path, and a packet loss rate of the transmission path. I.e. the one that is the one. The performance parameter is the hop count of the transmission path, the bandwidth of the transmission path, the time delay of the transmission path, or the packet loss rate of the transmission path.
Finally, deleting at least one transmission path with the performance parameter lower than a preset threshold, namely deleting at least one candidate transmission path, so that the required space of the residual transmission path and the performance parameter of the residual transmission path is not larger than the storage space of the controller; the remaining transmission paths and the performance parameters of the remaining transmission paths are stored as a set of pre-stored paths.
For example, the performance parameters include the hop count of the transmission path and the bandwidth of the transmission path, and the transmission paths are respectively ordered based on the bandwidths of the transmission paths, so as to obtain a bandwidth sequence. And sequencing the transmission paths based on the hop counts of the transmission paths to obtain a hop count sequence. Then, a preset threshold corresponding to the bandwidth is acquired, a transmission path lower than the preset threshold of the bandwidth is determined in the bandwidth sequence, a preset threshold corresponding to the hop count is acquired at the same time, and a transmission path lower than the preset threshold of the hop count is determined in the hop count sequence. Then, the number of deleted transmission paths can be determined based on the difference between the demand space and the storage threshold value.
The embodiment of the application does not limit the deleting mode; it may be that all transmission paths lower than the corresponding preset reference value in the bandwidth sequence are deleted, and then the transmission paths lower than the corresponding preset reference value are deleted in the hop sequence until the required space of the remaining transmission paths and the performance parameters of the transmission paths is not larger than the storage space. The deleting method may also be to delete the same number of transmission paths in the hop sequence and the bandwidth sequence at the same time until the required space of the remaining transmission paths and the performance parameters of the transmission paths is not greater than the storage space; the remaining transmission paths and the performance parameters of the remaining transmission paths are stored to obtain a set of pre-stored paths.
Further, after updating the transmission paths and the performance parameters of the transmission paths based on BGP-LS, when the transmission paths are increased, a plurality of transmission path packets may be collected in the pre-stored paths, where the source node and the destination node in each group of transmission paths are the same (i.e., the two ends are the same PE device), and the transmission paths in each group of transmission paths are sorted based on any performance parameter, so as to determine the transmission path with the lowest performance parameter in each group of transmission paths, and then, according to the updated transmission path, delete the transmission path with the lowest performance parameter, thereby achieving the purpose of providing a storage space for the updated transmission path.
Step 102: a path request is received.
Wherein the path request includes a constraint; the constraint indicates a requirement for transmission quality of the transmission path. Service level agreements (english: SERVICE LEVEL AGREEMENT, acronym: SLA) are a service level agreement between a user and a provider, generally comprising requirements for transmission quality such as latency, jitter, packet loss rate, bandwidth, etc. of the network. Thus, the constraints here correspond to the aforementioned SLA agreements.
The path request may be obtained by purchasing a private line via a user, triggering the controller to open a virtual private network (english: virtual Private Network, abbreviated: VPN), a remote access technology.
Thus, the path request includes constraints indicating the user's need for the desired forwarding traffic output path. Such as hop count, cost, packet loss rate, or delay. That is, the constraint corresponds to a performance parameter of the transmission path.
Step 103: at least one first selectable path is selected from the set of pre-stored paths based on constraints in the path request.
Since the stored path set including the transmission path and the transmission path performance parameters has been pre-computed, this step may make the selection of the first alternative path for forwarding traffic directly based on constraints.
Further, when there are multiple first selectable paths available for selection, there may be multiple ways of selecting one or more first selectable paths among the multiple first selectable paths to forward traffic for the user, and embodiments of the present application are not limited specifically. For example, any one is selected; or two paths are arbitrarily selected, the two paths are mutually alternative paths, and when one first alternative path forwards the traffic, the other first alternative path is utilized to continuously forward the residual traffic when the traffic cannot be continuously forwarded due to network fluctuation and other reasons.
Further, after determining the first alternative path, when traffic is forwarded using the first alternative path, the controller receives a third notification based on BGP-LS when a link in the network environment changes. The third notification indicates that at least one link in the first alternative path has changed. Next, the controller determines a degraded link based on the above-described third notification and SLA agreement, and determines a second alternative path excluding the degraded link among the first alternative paths. Wherein, the performance parameter of the degraded link does not meet the preset reference value corresponding to the constraint condition. And then forwarding the traffic based on the second optional path, thereby achieving the purpose of switching paths in time and ensuring that the transmission quality of the traffic forwarded through the second optional path is not affected by the degradation of the related links.
Therefore, in the process of determining the path according to the user request, when the network fluctuates, the method provided by the embodiment of the application can still use the first optional path in the pre-stored path set to reselect the available transmission path, thereby avoiding the problems of reduced response efficiency, network delay at the user side and the like caused by recalculating the path.
The third notification may notify the controller of degradation of the network environment by notifying the nodes, or may notify the controller of degradation of the network environment by notifying links composed of a plurality of nodes. When notified in the form of a link, nodes on this link are all degraded nodes.
The notification about the node or the link in the aging period only carries out the identification operation, especially about the newly added link or node, and can directly mark the node of the network topology and add the identification. In addition, an aging list can be additionally set so as to calculate a path by combining the network topology after the aging of the nodes or links in the list expires. The following is a further example based on the above steps 101-103, please refer to fig. 4.
In this embodiment, the PE devices or links that have not been aged are recorded into an aging list, and when the PE devices or links complete aging, the PE devices or links are deleted from the aging list. When a notification about the addition or deletion is received, the relevant PE devices and links and corresponding identifications are stored in an aging list. When the PE device or the link is aged, the PE device or the link is deleted from the aging list while the corresponding operation is performed.
And collecting network topology acquisition information when the controller is started, and performing centralized path calculation. When the network topology change notification is received, whether the network topology change is related to the newly added event notification of the equipment and the link or the event notification is deleted is judged. Whether event notifications are added or deleted, the device of the embodiment of the present application preferentially processes event notifications for the PE device, and the event notifications for the PE link are secondary.
When the change notification is an added event notification, the added event notification is determined to be specifically an added PE device (i.e. network edge device) or an added PE link.
When the new event notification comprises the new PE equipment, the new PE equipment is directly compared with the equipment with the deletion identifier in the aging list:
If the same PE devices exist in the aging list and are identified to be deleted, determining that the newly added PE devices do not need to be added to the network topology, and deleting the PE devices identified to be deleted in the aging list.
If the same PE equipment does not exist in the aging list and is marked as deleted, and the same PE equipment does not exist and is marked as newly added, the newly added PE equipment is supplemented to the aging list.
If the same PE device does not exist in the aging list and is marked as deleted, but the same PE device exists and is marked as newly added, the PE device does not need to be recorded in the aging list, and the newly added mark related to the PE device does not need to be repeatedly added.
When the new event notification includes a new PE link, whether equipment at both ends of the link in the current network topology exists is firstly judged. If yes, the following comparison is performed in the aging list with respect to the case that the new event notification includes the new PE device:
If the PE links with the same nodes and the deleted marks exist in the aging list, the newly added PE links are determined not to be added into the network topology, and the PE links with the deleted marks in the aging list are deleted.
If the PE links with the same nodes and the same identifiers are deleted, or the PE links with the same nodes and the identifiers are newly added in the aging list, the PE links indicated in the newly added event notification are supplemented into the aging list.
If there is no PE link with the same node and the same identification as the deleted PE link in the aging list, but there is already a PE link with the same node and the same identification as the newly added PE link, the PE link indicated in the newly added event notification does not need to be supplemented to the aging list, and the newly added identification about the PE link does not need to be repeatedly added.
When the change notification is a delete event notification, the implementation steps correspond to the new event notification, which is not described herein, and reference may be continued to fig. 4.
Recording the aging time stamp of the device or the link added to the aging list, and when the aging time of the node/link exceeds the aging period, the device/node completes aging, and then the transmission path passing through the PE device or the PE link is identified, and the performance parameter of the transmission path is recalculated. Finally, the transmission path and the performance parameters are archived.
The following is archived in the form of a matrix hash table, i.e. the above-mentioned transmission paths and performance parameters are saved for illustration. Referring to fig. 5, the first column is a source node and the first column is a destination node, and each point in the matrix represents a path of some two PE devices. The number of alternative paths between two PE devices can be multiple, and the performance parameters of each candidate path, such as cost, time delay, hop count and path planning, are stored in a matrix hash table together with the transmission path strength. As shown in fig. 5, at least two candidate paths (i.e., alternative paths) between the source node and the target node are PE1 and PE2, respectively, are selected from the candidate path 1 and the candidate path 2. Each candidate path includes performance parameters such as cost, delay time, hop count, etc. Accordingly, when it is determined that a new PE device appears in the network topology, the matrix may be expanded by pre-calculation. After each recalculation, the paths which are the same as the source node and the destination node in the network topology can be compared, and the old paths are replaced by better new paths.
Similarly, the aforementioned hash matrix may be adaptively reduced when the PE device or PE link is still deleted after aging is completed, so that the controller operates more efficiently.
Based on the same inventive concept, the embodiment of the present application provides a device for determining a path, where the device corresponds to the method for determining a path shown in fig. 1, and a specific embodiment of the device may refer to the description of the foregoing method embodiment, and the repetition is omitted herein, and reference is made to fig. 6, where the device includes:
aggregation unit 601: and the method is used for determining a pre-stored path set based on the acquired network topology and storing the pre-stored path set.
Wherein the pre-stored path set includes a transmission path and performance parameters corresponding to the transmission path.
The aggregation unit 601 is specifically configured to obtain the network topology; determining, in the network topology, the transmission path and a performance parameter corresponding to the transmission path; and according to the network edge equipment in the transmission path, arranging the transmission path to obtain a pre-stored path set.
The aggregation unit 601 is further configured to receive a first notification indicating the network topology change; wherein the first notification includes an indication of a first new notification and/or a first deletion notification; updating the transmission paths in the pre-stored path set and the performance parameters of the transmission paths in response to the first new notification and/or the first deletion notification; wherein the first addition notification includes at least one of an addition first network edge device, an addition first network core device, and an addition first link, and the first deletion notification includes at least one of a deletion second network edge device, a deletion second network core device, and a deletion second link.
The device for determining the path further comprises a deleting unit, wherein the deleting unit is specifically used for determining any transmission path with the lowest performance parameter in the same transmission paths of the network edge equipment in the pre-stored path set; deleting the transmission path with the lowest performance parameter, and adding the updated transmission path and the performance parameter of the updated transmission path to the pre-stored path set.
The first notification includes a first new notification, and the aggregation unit 601 is further configured to add the first network edge device and/or the first link and a first identifier corresponding to the first network edge device and/or the first link in the network topology; the first mark comprises a newly added mark and the adding moment of the first mark; determining a first duration for adding the first identifier based on the adding time of the first identifier; and updating the performance parameters of the transmission path and the transmission path based on the first network edge device and/or the first link in response to the first time period being greater than or equal to a preset aging threshold.
The first notification comprises a first deletion notification, and the aggregation unit 601 is further configured to add a second identifier to the second network edge device and/or the second link in the network topology; wherein the second identifier comprises a deletion identifier and an adding moment of the second identifier; determining a second duration for adding the second identifier based on the adding time of the second identifier; and deleting the second network edge equipment and/or the second link in the network topology and updating the transmission path and the performance parameters of the updated transmission path in response to the second time length being greater than or equal to the preset aging threshold.
The aggregation unit 601 is further configured to receive a second deletion notification that indicates the network topology change; determining network core devices at both ends of a third link in the network topology in response to the second deletion notification comprising deleting the third link; in response to the third link being different from the first link, adding a third identifier to network core devices at both ends of the third link; wherein, the third mark comprises a deletion mark and an adding moment of the third mark; or deleting the first link and the first identification corresponding to the first link in the network topology in response to the third link being the same as the first link.
The aggregation unit 601 is further configured to receive a second newly added notification indicating the network topology change; determining, in response to the second addition notification including an addition of a third network edge device, whether the third network edge device is the same as the second network edge device; if yes, deleting the second network edge device and the second identifier corresponding to the second network edge device in the network topology; if not, adding the third network edge device and a fourth identifier corresponding to the third network edge device in the network topology; the fourth identifier comprises a new identifier and an adding moment of the fourth identifier.
The device for forwarding the traffic also comprises a storage unit, wherein the storage unit is specifically used for determining a storage threshold value of the controller, and the transmission path and the required space of the performance parameter; wherein the storage threshold is not greater than a storage space of the controller; determining candidate transmission paths in the same transmission paths of the network edge equipment in response to the required space being larger than the storage space; wherein at least one of the performance parameters of the candidate transmission paths is lower than a corresponding preset reference value; the performance parameter is the hop count of the transmission path, the bandwidth of the transmission path, the time delay of the transmission path or the packet loss rate of the transmission path; deleting at least one candidate transmission path to ensure that the required space of the residual transmission path and the performance parameters of the residual transmission path is not larger than the storage space;
the aggregation unit 601 is further configured to store the remaining transmission paths and performance parameters of the remaining transmission paths, to obtain the pre-stored path aggregation.
The receiving unit 602: for receiving a path request.
Wherein the path request includes a constraint indicating a requirement for the transmission quality of the transmission path.
The selecting unit 603: for selecting at least one first alternative path in the set of pre-stored paths based on the constraints in the path request.
The device for forwarding the traffic also comprises a degradation unit, wherein the degradation unit is specifically used for forwarding the traffic based on the first optional path; receiving a third notification based on the BGP-LS; wherein the third notification indicates that at least one link in the first alternative path has changed; determining a degraded link based on the third notification and service level agreement, and determining a second alternative path excluding the degraded link from the first alternative paths; wherein, the performance parameter of the degraded link does not meet the preset reference value corresponding to the constraint condition; updating the first alternate path with the second alternate path.
Based on the same inventive concept, an embodiment of the present application also provides a readable storage medium including:
The memory device is used for storing the data,
The memory is for storing instructions that, when executed by the processor, cause an apparatus comprising the readable storage medium to perform the method of determining a path as described above.
Based on the same inventive concept as the method for determining a path, an embodiment of the present application further provides an electronic device, where the electronic device may implement the function of the method for determining a path, and please refer to fig. 7, where the electronic device includes:
At least one processor 701, and a memory 702 connected to the at least one processor 701, in which the specific connection medium between the processor 701 and the memory 702 is not limited in the embodiment of the present application, and in fig. 7, the connection between the processor 701 and the memory 702 through the bus 700 is taken as an example. Bus 700 is shown in bold lines in fig. 7, and the manner in which the other components are connected is illustrated schematically and not by way of limitation. The bus 700 may be divided into an address bus, a data bus, a control bus, etc., and is represented by only one thick line in fig. 7 for convenience of representation, but does not represent only one bus or one type of bus. Alternatively, the processor 701 may be referred to as a controller, and the names are not limited.
In an embodiment of the present application, the memory 702 stores instructions executable by the at least one processor 701, and the at least one processor 701 may perform the method of determining a path as previously described by executing the instructions stored in the memory 702. The processor 701 may implement the functions of the various modules in the apparatus shown in fig. 6.
The processor 701 is a control center of the apparatus, and may connect various parts of the entire control device using various interfaces and lines, and by executing or executing instructions stored in the memory 702 and invoking data stored in the memory 702, various functions of the apparatus and processing data, thereby performing overall monitoring of the apparatus.
In one possible design, processor 701 may include one or more processing units, and processor 701 may integrate an application processor and a modem processor, wherein the application processor primarily processes operating systems, user interfaces, application programs, and the like, and the modem processor primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 701. In some embodiments, processor 701 and memory 702 may be implemented on the same chip, or they may be implemented separately on separate chips in some embodiments.
The processor 701 may be a general purpose processor such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, and may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method for determining a path disclosed in connection with the embodiments of the present application may be directly embodied as a hardware processor executing the method, or may be executed by a combination of hardware and software modules in the processor.
The memory 702 is a non-volatile computer-readable storage medium that can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The Memory 702 may include at least one type of storage medium, and may include, for example, flash Memory, hard disk, multimedia card, card Memory, random access Memory (Random Access Memory, RAM), static random access Memory (Static Random Access Memory, SRAM), programmable Read-Only Memory (Programmable Read Only Memory, PROM), read-Only Memory (ROM), charged erasable programmable Read-Only Memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory, EEPROM), magnetic Memory, magnetic disk, optical disk, and the like. Memory 702 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 702 in embodiments of the present application may also be circuitry or any other device capable of performing storage functions for storing program instructions and/or data.
By programming the processor 701, the code corresponding to the method for determining a path described in the foregoing embodiment may be solidified into a chip, so that the chip can execute the steps of the method for determining a path shown in fig. 1 at the time of operation. How to design and program the processor 701 is a technology well known to those skilled in the art, and will not be described in detail herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: universal serial bus flash disk (Universal Serial Bus FLASH DISK), removable hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disk, and other various media capable of storing program code.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (13)

1. A method of determining a path, comprising:
Determining a pre-stored path set based on the acquired network topology, and storing the pre-stored path set; wherein the pre-stored path set comprises a transmission path and performance parameters corresponding to the transmission path;
Receiving a path request; wherein the path request includes a constraint indicating a requirement for the transmission quality of the transmission path;
At least one first selectable path is selected from the set of pre-stored paths based on the constraints in the path request.
2. The method of claim 1, wherein the determining the set of pre-stored paths based on the acquired network topology comprises:
Acquiring the network topology;
Determining, in the network topology, the transmission path and a performance parameter corresponding to the transmission path;
And according to the network edge equipment in the transmission path, arranging the transmission path to obtain a pre-stored path set.
3. The method of claim 1, wherein the determining the set of pre-stored paths based on the acquired network topology comprises:
receiving a first notification indicating a change in the network topology; wherein the first notification comprises a first new notification and/or a first deletion notification;
Updating the transmission paths in the pre-stored path set and the performance parameters of the transmission paths in response to the first new notification and/or the first deletion notification; wherein the first addition notification includes at least one of an addition first network edge device, an addition first network core device, and an addition first link, and the first deletion notification includes at least one of a deletion second network edge device, a deletion second network core device, and a deletion second link.
4. The method of claim 3, wherein after said updating the transmission path and the performance parameters of the transmission path, comprising:
in the pre-stored path set, determining any transmission path with the lowest performance parameter in the same transmission paths of the network edge equipment;
Deleting the transmission path with the lowest performance parameter, and adding the updated transmission path and the performance parameter of the updated transmission path to the pre-stored path set.
5. The method of claim 3, wherein the first notification comprises a first addition notification, and wherein the updating the performance parameters of the transmission path and the transmission path in response to the first addition notification and/or the first deletion notification comprises:
adding the first network edge device and/or the first link and a first identification corresponding to the first network edge device and/or the first link in the network topology; the first mark comprises a newly added mark and the adding moment of the first mark;
Determining a first duration for adding the first identifier based on the adding time of the first identifier;
and updating the performance parameters of the transmission path and the transmission path based on the first network edge device and/or the first link in response to the first time period being greater than or equal to a preset aging threshold.
6. A method according to claim 3, wherein the first notification comprises a first deletion notification, and wherein the updating the transmission path and the performance parameters of the transmission path in response to the first addition notification and/or the first deletion notification comprises:
Adding a second identification for the second network edge device and/or the second link in the network topology; wherein the second identifier comprises a deletion identifier and an adding moment of the second identifier;
determining a second duration for adding the second identifier based on the adding time of the second identifier;
and deleting the second network edge equipment and/or the second link in the network topology and updating the transmission path and the performance parameters of the updated transmission path in response to the second time length being greater than or equal to the preset aging threshold.
7. The method according to any one of claims 3-6, wherein before said updating said transmission path and the updated performance parameters of the transmission path, further comprises:
receiving a second deletion notification indicating a change in the network topology;
Determining network core devices at both ends of a third link in the network topology in response to the second deletion notification comprising deleting the third link;
in response to the third link being different from the first link, adding a third identifier to network core devices at both ends of the third link; wherein, the third mark comprises a deletion mark and an adding moment of the third mark; or alternatively
Responsive to the third link being the same as the first link, the first link and the first identification corresponding to the first link are deleted in the network topology.
8. The method according to any one of claims 3-6, wherein before said updating said transmission path and the updated performance parameters of the transmission path, further comprises:
receiving a second newly added notification indicating a change in the network topology;
determining, in response to the second addition notification including an addition of a third network edge device, whether the third network edge device is the same as the second network edge device;
if yes, deleting the second network edge device and the second identifier corresponding to the second network edge device in the network topology;
If not, adding the third network edge device and a fourth identifier corresponding to the third network edge device in the network topology; the fourth identifier comprises a new identifier and an adding moment of the fourth identifier.
9. The method according to claim 1 or 2, wherein after selecting at least one first alternative path in the set of pre-stored paths, further comprising:
receiving a third notification; wherein the third notification indicates that at least one link in the first alternative path has changed;
determining a degraded link based on the third notification and service level agreement, and determining a second alternative path excluding the degraded link from the first alternative paths; wherein, the performance parameter of the degraded link does not meet the preset reference value corresponding to the constraint condition;
Updating the first alternate path with the second alternate path.
10. The method according to claim 1 or 2, wherein before storing the set of pre-stored paths, further comprising:
Determining a storage threshold of a controller and a required space of the transmission path and the performance parameter; wherein the storage threshold is not greater than a storage space of the controller;
Determining candidate transmission paths in the same transmission paths of the network edge equipment in response to the required space being larger than the storage space; wherein at least one of the performance parameters of the candidate transmission paths is lower than a corresponding preset reference value; the performance parameter is the hop count of the transmission path, the bandwidth of the transmission path, the time delay of the transmission path or the packet loss rate of the transmission path;
deleting at least one candidate transmission path to ensure that the required space of the residual transmission path and the performance parameters of the residual transmission path is not larger than the storage space;
Said storing said set of pre-stored paths comprises:
and storing the residual transmission paths and performance parameters of the residual transmission paths to obtain the pre-stored path set.
11. An apparatus for determining a path, comprising:
Aggregation unit: the method comprises the steps of determining a pre-stored path set based on an acquired network topology, and storing the pre-stored path set; wherein the pre-stored path set comprises a transmission path and performance parameters corresponding to the transmission path;
A receiving unit: for receiving a path request; wherein the path request includes a constraint indicating a requirement for the transmission quality of the transmission path;
the selecting unit: for selecting at least one first alternative path in the set of pre-stored paths based on the constraints in the path request.
12. A readable storage medium comprising,
The memory device is used for storing the data,
The memory is configured to store instructions that, when executed by a processor, cause an apparatus comprising the readable storage medium to perform the method of any of claims 1-10.
13. An electronic device, comprising:
A memory for storing a computer program;
a processor for executing a computer program stored on the memory to implement the method of any one of claims 1-10.
CN202211600742.9A 2022-12-13 2022-12-13 Method and device for determining path and electronic equipment Pending CN118233358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211600742.9A CN118233358A (en) 2022-12-13 2022-12-13 Method and device for determining path and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211600742.9A CN118233358A (en) 2022-12-13 2022-12-13 Method and device for determining path and electronic equipment

Publications (1)

Publication Number Publication Date
CN118233358A true CN118233358A (en) 2024-06-21

Family

ID=91512947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211600742.9A Pending CN118233358A (en) 2022-12-13 2022-12-13 Method and device for determining path and electronic equipment

Country Status (1)

Country Link
CN (1) CN118233358A (en)

Similar Documents

Publication Publication Date Title
US8817798B2 (en) Constraining topology size and recursively calculating routes in large networks
EP4027613A1 (en) Border gateway protocol for communication among software defined network controllers
US11496399B2 (en) Dynamically balancing traffic in a fabric using telemetry data
JP6920533B2 (en) Data flow transmission
EP2549703A1 (en) Reoptimization triggering by path computation elements
CN108347376B (en) method, device and system for adjusting forwarding path
US12015543B2 (en) Method for configuring performance measurement indication information and related device
CN112491707B (en) Method and device for determining forwarding path
US20130272318A1 (en) Communication link bandwidth fragmentation avoidance
CN110730478B (en) Slice association method, device, end-to-end slice organizer and storage medium
CN113132225B (en) Path selection method, path selection device, computer equipment and computer readable medium
US10659327B2 (en) Network traffic analysis
WO2020244550A1 (en) Path computing method, storage medium, and electronic device
CN112118180A (en) Method, device and system for planning path
CN112217727B (en) Multi-metric-dimension routing method and device, computer equipment and storage medium
CN112995036A (en) Network traffic scheduling method and device
US20240089204A1 (en) Communication Method, Device, and System
US11153214B2 (en) In service flow capability update in guaranteed bandwidth multicast network
CN118233358A (en) Method and device for determining path and electronic equipment
JP2016122960A (en) Management system, network management method, network system
CN115473842A (en) Computing network information notification and routing decision method, device and medium
CN112600751B (en) Path calculation method, device, equipment and machine-readable storage medium
EP3425859A1 (en) Multi-layer lsp control method and apparatus
US9843511B2 (en) Method and apparatus for selecting path from paths between label edge routers
US11757762B2 (en) Service operation method and device, and storage medium and electronic device

Legal Events

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