Network congestion node identification method and device, medium and equipment

By constructing a network topology model and using the ant algorithm to identify network congestion nodes, the problem of identifying and processing congested nodes in complex networks is solved, and the quality and performance of network communication are improved.

CN118784553AInactive Publication Date: 2024-10-15SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411056173.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-10-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In complex network topologies, it is difficult to identify and deal with network congestion nodes, resulting in decreased network throughput and reduced communication quality.

Method used

By constructing a network topology model, the total network delay matrix is ​​determined, and the ant algorithm is used to search for the optimal path from the starting and ending nodes, reducing data processing capabilities to identify congested nodes, and identifying congested nodes by comparing the optimal path set.

Benefits of technology

It realizes automatic and efficient identification of network congestion nodes, improves the quality of network communication, handles congestion problems in a timely manner, and improves network performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784553A_ABST
    Figure CN118784553A_ABST
Patent Text Reader

Abstract

The invention provides a network congestion node identification method and method, a medium and equipment. The method comprises the following steps: S1, constructing a network topology model, and determining a network total time delay matrix corresponding to the network topology model; s2, setting a plurality of groups of start-stop nodes, and initializing each parameter involved in the ant algorithm; s3, for each group of starting and ending nodes, determining a first optimal path set by adopting an ant algorithm; s4, randomly selecting a first optimal path group from the first optimal path set, and reducing the data processing capability of the network nodes on the common sub-path in the first optimal path group; s5, aiming at each group of start-stop nodes, determining a second optimal path set by adopting an ant algorithm; and S6, comparing the corresponding first optimal path group and the second optimal path group in the first optimal path set and the second optimal path set to obtain skipped nodes, and determining nodes with network congestion according to the skipped nodes. According to the invention, the network node with congestion can be identified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network topology technology, and in particular to a method, device, medium and equipment for identifying network congested nodes. Background Art

[0002] The selection of network routing should not only meet the different application requirements of users, but also maximize the resource utilization of the overall network. In order to meet the needs of different users and the high-speed transmission of information, the network topology is becoming larger and more complex. Many communication network nodes are interconnected and complex, which makes network congestion inevitable. When a node in the network has a problem, it may cause spread, causing other nodes to be congested at the same time. When a node has network congestion, the network throughput will decrease, and in severe cases, the network may even crash. Network congestion is extremely destructive to the network, causing the overall performance of the network to decline.

[0003] In the prior art, when a communication network node temporarily fails, most of the communication services are met by finding a suboptimal path. The delay of the suboptimal path may be very large, and the communication quality is greatly reduced compared with the original optimal path, so it is necessary to identify the congested nodes. However, with the huge network communication structure and dense network communication nodes, it is very difficult to directly identify the congested nodes. Summary of the invention

[0004] In view of at least one of the above technical problems, an embodiment of the present invention provides a method and apparatus, medium, and device for identifying a network congested node.

[0005] According to a first aspect, a method for identifying a network congested node provided by an embodiment of the present invention includes:

[0006] S1. Construct a network topology model and determine a total network delay matrix corresponding to the network topology model; wherein the network topology model is a topology structure formed by each network node in the network environment;

[0007] S2, setting multiple groups of start and end nodes, and initializing various parameters involved in the ant algorithm; wherein each group of start and end nodes includes a start node and an end node, and the start node and the end node are both network nodes in the network topology model;

[0008] S3. For each group of start and end nodes, the ant algorithm is used to start from the start node in the group of start and end nodes, and the end node in the group of start and end nodes is cyclically searched in the network total delay matrix to obtain the optimal path corresponding to the group of start and end nodes, and each two optimal paths with common subpaths are formed into a first optimal path group, and each first optimal path group is formed into a first optimal path set;

[0009] S4. Randomly select a first optimal path group from the first optimal path set, and reduce the data processing capabilities of network nodes on a common sub-path in the first optimal path group;

[0010] S5. For each group of start and end nodes, the ant algorithm is used to start from the start node in the group of start and end nodes, and the end node in the group of start and end nodes is cyclically searched in the network total delay matrix to obtain the optimal path corresponding to the group of start and end nodes, and each two optimal paths with common sub-paths are formed into a second optimal path group, and each second optimal path group is formed into a second optimal path set;

[0011] S6. Compare the first optimal path group and the second optimal path group corresponding to the first optimal path set and the second optimal path set to obtain skipped nodes, and determine nodes where network congestion occurs according to the skipped nodes.

[0012] In one embodiment, determining the total network delay matrix corresponding to the network topology model includes:

[0013] According to the distances between the various network nodes in the network topology model, a network node distance matrix corresponding to the network topology model is constructed;

[0014] Determine a corresponding network propagation delay matrix according to the network node distance matrix and the data transmission speed between the network nodes;

[0015] Determine the network queuing delay matrix;

[0016] The network propagation delay matrix and the network queuing delay matrix are added together to obtain the network total delay matrix.

[0017] In one embodiment, determining a network queuing delay matrix includes:

[0018] The following formula is used to calculate each network queuing delay in the network queuing delay matrix:

[0019]

[0020]

[0021] Among them, W is the network queuing delay, ρ is the service intensity, λ is the data arrival rate, and μ is the node service rate.

[0022] In one embodiment, reducing the data processing capability of the network nodes on the common sub-path in the first optimal path group includes: increasing the node service rate corresponding to the network nodes on the common sub-path in the first optimal path group.

[0023] In one embodiment, the parameters involved in the ant algorithm include the initial optimal path corresponding to each group of start and end nodes, the pheromone concentration of each network node and the total number of preset cycles;

[0024] Correspondingly, the ant algorithm is used to start from the starting node in the group of starting and ending nodes, and cyclically search for the ending node in the group of starting and ending nodes in the network total delay matrix to obtain the optimal path corresponding to the group of starting and ending nodes, including:

[0025] A1. Place each ant on the starting node of the group of start and end nodes;

[0026] A2. Calculate the corresponding transfer probability of each adjacent node for the current node and the pheromone concentration of each adjacent node where each ant is located; determine whether the adjacent node with the highest transfer probability is in the taboo table corresponding to the ant; if not in the taboo table, place the adjacent node with the highest transfer probability in the taboo table corresponding to the ant, and use the adjacent node with the highest transfer probability as the next hop node; if in the taboo table, calculate the corresponding transfer probabilities of other adjacent nodes except the adjacent node with the highest transfer probability, and determine the next hop node according to the corresponding transfer probabilities of the other adjacent nodes and the taboo table; use the next hop node as the current node of the ant; wherein the taboo table of an ant includes the network nodes that the ant has passed through;

[0027] A3, determine whether the current node of each ant is the end node of the group of start and end nodes;

[0028] A4. If yes, determine whether to update the optimal path corresponding to the group of start and end nodes based on the total delay of the path traveled by the ant; otherwise, update the pheromone concentration of each network node and increase the current cycle number by 1;

[0029] A5. Determine whether the current number of cycles is greater than the preset total number of cycles; if it is greater than the preset total number of cycles, output the current optimal path of the group of start and end nodes; if it is less than or equal to the preset total number of cycles, return to A1.

[0030] In one embodiment, the number of ants is Q rounded up, where Q is the number of network nodes in the network topology model*0.5.

[0031] In one embodiment, the step of comparing the first optimal path set and the second optimal path set corresponding to each other in the first optimal path set and the second optimal path set to obtain a skipped node, and determining a node where network congestion occurs according to the skipped node includes:

[0032] Determine a common subpath of two optimal paths in each first optimal path group in the first optimal path set, and record it as a first common subpath;

[0033] Compare the second optimal path set corresponding to the first optimal path set with the first common sub-path to obtain a network node where the second optimal path set skips the first common sub-path, and use the network node as a skipped node;

[0034] The network nodes among the skipped nodes that do not appear in the second optimal path group are regarded as nodes where network congestion occurs.

[0035] According to a second aspect, a network congestion node identification device provided by an embodiment of the present invention includes:

[0036] The matrix determination module is used to execute: S1, construct a network topology model, and determine the network total delay matrix corresponding to the network topology model; wherein the network topology model is a topology structure formed by each network node in the network environment;

[0037] An initialization module, used to execute: S2, setting multiple groups of start and end nodes, and initializing various parameters involved in the ant algorithm; wherein each group of start and end nodes includes a start node and an end node, and the start node and the end node are both network nodes in the network topology model;

[0038] The first search module is used to execute: S3, for each group of start and end nodes, using the ant algorithm to start from the start node in the group of start and end nodes, cyclically searching for the end node in the group of start and end nodes in the network total delay matrix, to obtain the optimal path corresponding to the group of start and end nodes, forming a first optimal path group with every two optimal paths having a common subpath, and forming each first optimal path group into a first optimal path set;

[0039] A capability down-adjustment module is configured to execute: S4, randomly selecting a first optimal path group from the first optimal path set, and reducing the data processing capabilities of network nodes on a common sub-path in the first optimal path group;

[0040] The second search module is used to execute: S5, for each group of start and end nodes, using the ant algorithm to start from the start node in the group of start and end nodes, cyclically searching for the end node in the group of start and end nodes in the network total delay matrix, to obtain the optimal path corresponding to the group of start and end nodes, forming a second optimal path group with every two optimal paths having a common sub-path, and forming each second optimal path group into a second optimal path set;

[0041] The node identification module is used to execute: S6, comparing the first optimal path set and the second optimal path group corresponding to the second optimal path set to obtain skipped nodes, and determining the node where network congestion occurs based on the skipped nodes.

[0042] According to a third aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method provided in the first aspect.

[0043] According to a fourth aspect, an embodiment of the present invention provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, the method provided in the first aspect is implemented.

[0044] The network congestion node identification method, device, medium, and equipment provided by the embodiment of the present invention first determine the network total delay matrix, then set multiple groups of start and end nodes, and initialize the various parameters involved in the ant algorithm, then use the ant algorithm for each group of start and end nodes starting from the starting node in the group of start and end nodes, cyclically search the terminating node in the group of start and end nodes in the network total delay matrix, obtain the optimal path corresponding to the group of start and end nodes, form a first optimal path group with each two optimal paths having a common sub-path, and form each first optimal path group into a first optimal path set. Then, randomly select a first optimal path group from the first optimal path set, and reduce the data processing capacity of the network nodes on the common sub-path in the first optimal path group. After the processing capacity reduction is executed, the ant algorithm is used for each group of start and end nodes starting from the starting node in the group of start and end nodes, and cyclically search the terminating node in the group of start and end nodes in the network total delay matrix to obtain the optimal path corresponding to the group of start and end nodes, form a second optimal path group with each two optimal paths having a common sub-path, and form each second optimal path group into a second optimal path set. At this point, the first optimal path set and the second optimal path set are obtained. Finally, the first optimal path set and the corresponding first optimal path group and second optimal path group in the second optimal path set are compared to obtain skipped nodes, and the nodes where network congestion occurs are determined based on the skipped nodes. It can be seen that based on the two optimal path sets obtained before and after reducing the processing capacity of the network nodes, the network nodes where congestion occurs are identified, and the entire identification process does not require manual participation, so the identification efficiency is relatively high. It provides important help for timely processing of congested nodes in the later stage and improving the quality of network communication at the root cause. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic diagram of a flow chart of a method for identifying a network congested node in an embodiment of the present invention;

[0046] Figure 2 It is a structural block diagram of a network congestion node identification device in one embodiment of the present invention. DETAILED DESCRIPTION

[0047] In a first aspect, an embodiment of the present invention provides a method for identifying a network congested node. Figure 1 The method comprises the following steps S1 to S6:

[0048] S1. Construct a network topology model and determine a total network delay matrix corresponding to the network topology model; wherein the network topology model is a topology structure formed by each network node in the network environment;

[0049] The network topology model refers to the topological structure formed by each network node.

[0050] In one embodiment, determining the total network delay matrix corresponding to the network topology model in S1 may specifically include:

[0051] S11, constructing a network node distance matrix corresponding to the network topology model according to the distances between the various network nodes in the network topology model;

[0052] That is, a network node distance matrix is ​​constructed according to the distance information between each network node. The network node distance matrix can reflect the distance between each network node, and the corresponding distance for unconnected network nodes is infinite.

[0053] Among them, the number of network nodes is greater than 50. The larger the number, the more realistic the network topology model is. Specifically, the Matlab platform can be used to construct the network topology model.

[0054] S12, determining a corresponding network propagation delay matrix according to the network node distance matrix and the data transmission speed between the network nodes;

[0055] The distance between two network nodes can be taken as the data transmission speed between the two network nodes to obtain the network propagation delay of the two network nodes.

[0056] S13, determining a network queuing delay matrix;

[0057] The determining of the network queuing delay matrix may include: using the following formula to calculate each network queuing delay in the network queuing delay matrix:

[0058]

[0059]

[0060] Among them, W is the network queuing delay, ρ is the service intensity, λ is the data arrival rate, and μ is the node service rate.

[0061] S14. Add the network propagation delay matrix and the network queuing delay matrix to obtain the network total delay matrix.

[0062] The total delay is equal to the sum of the network propagation delay and the network queuing delay. Therefore, the network propagation delay matrix and the network queuing delay matrix are added together to obtain the network total delay matrix.

[0063] Among them, the network propagation delay can be in the millisecond level, which is much smaller than the network queuing delay and can even be ignored. The queuing delay at the network node is the key factor in determining the optimal path.

[0064] It can be seen that in S1, the distance information between network nodes in the network topology model is used to obtain the network propagation delay matrix, and the network queuing delay matrix is ​​determined, so as to construct the network total delay matrix, which is convenient for subsequent ant colony algorithm to search in the network total delay matrix in a loop, and then obtain the optimal path. At the same time, the optimal path obtained is more real and accurate.

[0065] S2, setting multiple groups of start and end nodes, and initializing various parameters involved in the ant algorithm; wherein each group of start and end nodes includes a start node and an end node, and the start node and the end node are both network nodes in the network topology model;

[0066] That is, a network node is selected from the network topology model as a start node, and another network node is selected as an end node. A start node and an end node can form a set of start and end nodes.

[0067] Among them, there may be multiple parameters involved in the ant algorithm, such as the total number of ants, the total number of cycles, the pheromone factor, the heuristic factor, the pheromone matrix, the pheromone residue, the initial optimal path, etc.

[0068] The number of ants can be rounded to Q, where Q is the number of network nodes in the network topology model*0.5. The total number of cycles is set according to the network complexity, and the range is generally between dozens and hundreds. The pheromone matrix is ​​the unit matrix corresponding to the node distance matrix. The pheromone residue is a percentage, generally between 85-95%.

[0069] S3. For each group of start and end nodes, the ant algorithm is used to start from the start node in the group of start and end nodes, and the end node in the group of start and end nodes is cyclically searched in the network total delay matrix to obtain the optimal path corresponding to the group of start and end nodes, and each two optimal paths with common subpaths are formed into a first optimal path group, and each first optimal path group is formed into a first optimal path set;

[0070] Among them, the parameters involved in the ant algorithm may include the initial optimal path corresponding to each group of start and end nodes, the pheromone concentration of each network node and the preset total number of cycles; correspondingly, the ant algorithm described in S3 starts from the starting node in the group of start and end nodes, and cyclically searches for the end node in the group of start and end nodes in the network total delay matrix to obtain the optimal path corresponding to the group of start and end nodes, which may specifically include A1~A6:

[0071] A1. Place each ant on the starting node of the group of start and end nodes;

[0072] A2. Calculate the corresponding transfer probability of each adjacent node for the current node and the pheromone concentration of each adjacent node where each ant is located; determine whether the adjacent node with the highest transfer probability is in the taboo table corresponding to the ant; if not in the taboo table, place the adjacent node with the highest transfer probability in the taboo table corresponding to the ant, and use the adjacent node with the highest transfer probability as the next hop node; if in the taboo table, calculate the corresponding transfer probabilities of other adjacent nodes except the adjacent node with the highest transfer probability, and determine the next hop node according to the corresponding transfer probabilities of the other adjacent nodes and the taboo table; use the next hop node as the current node of the ant; wherein the taboo table of an ant includes the network nodes that the ant has passed through;

[0073] Among them, the taboo table of an ant stores the various network nodes that the ant has passed through.

[0074] It can be seen that in A2, firstly, according to the pheromone concentration between each ant at the current node and each adjacent node, the transfer probability of the ant from the current node to each adjacent node is calculated, and the adjacent node with the highest transfer probability is selected to determine whether the adjacent node is in the taboo table of the ant. If it is not in the taboo table, the adjacent node with the highest transfer probability can be used as the next hop node, and then the adjacent node with the highest transfer probability is placed in the taboo table of the ant. If it is in the taboo table, it means that the ant has passed the adjacent node with the highest transfer probability and needs to reselect the next hop node from other adjacent nodes. After selecting the next node, the ant jumps to the next node, and the next node becomes the current node of the ant.

[0075] A3, determine whether the current node of each ant is the end node of the group of start and end nodes;

[0076] A4. If yes, determine whether to update the optimal path corresponding to the group of start and end nodes based on the total delay of the path traveled by the ant; otherwise, update the pheromone concentration of each network node and increase the current cycle number by 1;

[0077] That is, it is necessary to determine whether the current node where the ant is located is a terminal node. If it is a terminal node, the total delay of the path that the ant has traveled from the starting node to the terminal node is calculated, and then it is determined whether the total delay is lower than the total delay of the optimal path corresponding to the group of starting and ending nodes. If so, the optimal path corresponding to the group of starting and ending nodes is updated using the path that the ant has traveled from the starting node to the terminal node. Otherwise, the optimal path corresponding to the group of starting and ending nodes remains unchanged.

[0078] That is, whether the current node where the ant is located is a termination node or not, the pheromone concentration of each network node is updated according to the pheromone factor, heuristic factor, pheromone matrix or pheromone residue, and the current cycle number is increased by 1.

[0079] A6. Determine whether the current number of cycles is greater than the preset total number of cycles; if it is greater than the preset total number of cycles, output the current optimal path of the group of start and end nodes; if it is less than or equal to the preset total number of cycles, return to A1.

[0080] It can be seen that the exit condition is that the current loop number is greater than the preset total loop number. If the exit condition is met, the loop is exited and the current optimal path is output. If the exit condition is not met, it returns to A1 to continue iterating.

[0081] It can be seen that through A1 to A6, a corresponding optimal path can be obtained for a group of start and end nodes through the ant algorithm. For multiple groups of start and end nodes, multiple optimal paths can be obtained.

[0082] For example, a total of 3 optimal paths are obtained. Optimal path 1 and optimal path 2 have a common subpath, and optimal path 1 and optimal path 3 have a common subpath, then optimal path 1 and optimal path 2 form a first optimal path group a, optimal path 1 and optimal path 3 form a first optimal path group b, and the first optimal path groups a and b form a first optimal path set.

[0083] S4. Randomly select a first optimal path group from the first optimal path set, and reduce the data processing capabilities of network nodes on a common sub-path in the first optimal path group;

[0084] Herein, reducing the data processing capability of a network node means reducing the number of data packets that can be processed by the network node per unit time.

[0085] In one embodiment, reducing the data processing capability of the network nodes on the common sub-path in the first optimal path group may include: increasing the node service rate corresponding to the network nodes on the common sub-path in the first optimal path group.

[0086] For example, a network node c in a common subpath of the optimal path 1 and the optimal path 3 of the first optimal path group b is selected, and the data processing capability of the network node c is reduced by increasing the node service rate μ of the network node c.

[0087] S5. For each group of start and end nodes, the ant algorithm is used to start from the start node in the group of start and end nodes, and the end node in the group of start and end nodes is cyclically searched in the network total delay matrix to obtain the optimal path corresponding to the group of start and end nodes, and each two optimal paths with common sub-paths are formed into a second optimal path group, and each second optimal path group is formed into a second optimal path set;

[0088] That is, after reducing the data processing capability of the network nodes on the common sub-path in the first optimal path group, S5 is executed, and the execution process of S5 is similar to that of S3, and the specific process of S3 can be referred to. After executing S5, the second optimal path set can be obtained.

[0089] S6. Compare the first optimal path group and the second optimal path group corresponding to the first optimal path set and the second optimal path set to obtain skipped nodes, and determine nodes where network congestion occurs according to the skipped nodes.

[0090] That is to say, by comparing the first optimal path set and the corresponding first optimal path group and second optimal path group in the second optimal path set, the nodes skipped by the second optimal path group relative to the first optimal path group can be obtained, and then the nodes where network congestion occurs can be determined based on the skipped nodes.

[0091] In one embodiment, S6 may include:

[0092] S61, determining a common subpath of two optimal paths in each first optimal path group in the first optimal path set, and recording it as a first common subpath;

[0093] S62: Compare the second optimal path set corresponding to the first optimal path set with the first common sub-path to obtain a network node in which the second optimal path set skips the first common sub-path, and use the network node as a skipped node;

[0094] S63: Take the network nodes among the skipped nodes that do not appear in the second optimal path group as nodes where network congestion occurs.

[0095] For example, referring to Table 1 below, the first optimal path group: 6-11-8-9-12, 2-1-8-9-12 corresponds to the second optimal path group 6-10-9-12, 2-1-19-16-12, because the starting node and the ending node are corresponding. The first common subpath of 6-11-8-9-12 and 2-1-8-9-12 in the first optimal path group is: 8-9-12. In the second optimal path group, 6-10-9-12 skips network node 8 relative to 8-9-12, and in the second optimal path group, 2-1-19-16-12 skips network nodes 8 and 9 relative to 8-9-12, so the skipped nodes are 8 and 9. Since network node 9 exists in 6-10-9-12 in the second optimal path group, it means that network node 9 is not congested, so the node with network congestion is network node 8. The process of determining the congested network nodes corresponding to the other first optimal path groups and the second optimal path groups in Table 1 below is similar.

[0096] Table 1 Path comparison table

[0097]

[0098]

[0099] It can be seen that the embodiment of the present invention can quickly narrow the search range of congested nodes by comparing the changes of nodes in the first optimal path group and the second optimal path group, and can even directly lock specific congested nodes. This provides important help for timely processing of congested nodes in the later stage and improving network communication quality at the root cause.

[0100] In a second aspect, an embodiment of the present invention provides a network congestion node identification device, see Figure 2 , the device 100 comprises:

[0101] The matrix determination module 110 is used to execute: S1, construct a network topology model, and determine the network total delay matrix corresponding to the network topology model; wherein the network topology model is a topology structure formed by each network node in the network environment;

[0102] The initialization module 120 is used to execute: S2, setting multiple groups of start and end nodes, and initializing various parameters involved in the ant algorithm; wherein each group of start and end nodes includes a start node and an end node, and the start node and the end node are both network nodes in the network topology model;

[0103] The first search module 130 is used to execute: S3, for each group of start and end nodes, using the ant algorithm to start from the start node in the group of start and end nodes, cyclically searching for the end node in the group of start and end nodes in the network total delay matrix, to obtain the optimal path corresponding to the group of start and end nodes, forming a first optimal path group with every two optimal paths having a common subpath, and forming each first optimal path group into a first optimal path set;

[0104] The capability down-adjustment module 140 is configured to execute: S4, randomly selecting a first optimal path group from the first optimal path set, and reducing the data processing capabilities of the network nodes on the common sub-paths in the first optimal path group;

[0105] The second search module 150 is used to execute: S5, for each group of start and end nodes, using the ant algorithm to start from the start node in the group of start and end nodes, cyclically searching for the end node in the group of start and end nodes in the network total delay matrix, to obtain the optimal path corresponding to the group of start and end nodes, forming a second optimal path group with every two optimal paths having a common sub-path, and forming each second optimal path group into a second optimal path set;

[0106] The node identification module 160 is used to execute: S6, comparing the first optimal path group and the second optimal path group corresponding to the first optimal path set and the second optimal path set to obtain skipped nodes, and determining nodes where network congestion occurs according to the skipped nodes.

[0107] In one embodiment, the matrix determination module is specifically used to: construct a network node distance matrix corresponding to the network topology model according to the distance between each network node in the network topology model; determine the corresponding network propagation delay matrix according to the network node distance matrix and the data transmission speed between network nodes; determine the network queuing delay matrix; add the network propagation delay matrix and the network queuing delay matrix to obtain the network total delay matrix.

[0108] In one embodiment, the matrix determination module is specifically used to calculate each network queuing delay in the network queuing delay matrix using the following formula:

[0109]

[0110]

[0111] Among them, W is the network queuing delay, ρ is the service intensity, λ is the data arrival rate, and μ is the node service rate.

[0112] In one embodiment, the capability down-adjustment module is specifically used to increase the node service rates corresponding to the network nodes on the common sub-path in the first optimal path group.

[0113] In one embodiment, the parameters involved in the ant algorithm include the initial optimal path corresponding to each group of start and end nodes, the pheromone concentration of each network node and the total number of preset cycles; correspondingly, the first search module or the second search module is specifically used to: A1, place each ant at the starting node of the group of start and end nodes; A2, calculate the transfer probability corresponding to each adjacent node according to the pheromone concentration of the current node and each adjacent node where each ant is located; determine whether the adjacent node with the highest transfer probability is in the taboo table corresponding to the ant; if not in the taboo table, place the adjacent node with the highest transfer probability in the taboo table corresponding to the ant, and use the adjacent node with the highest transfer probability as the next hop node; if in the taboo table, calculate the adjacent node except the adjacent node with the highest transfer probability A3, determine whether the current node of each ant is the end node in the group of start and end nodes; A4, if so, determine whether to update the optimal path corresponding to the group of start and end nodes according to the total delay of the path traversed by the ant; otherwise, update the pheromone concentration of each network node and add 1 to the current number of cycles; A5, determine whether the current number of cycles is greater than the preset total number of cycles; if it is greater than the preset total number of cycles, output the current optimal path of the group of start and end nodes; if it is less than or equal to the preset total number of cycles, return to A1.

[0114] In one embodiment, the number of ants is Q rounded up, where Q is the number of network nodes in the network topology model*0.5.

[0115] In one embodiment, the node identification module is specifically used to: determine the common subpath of the two optimal paths in each first optimal path group in the first optimal path set, and record it as the first common subpath; compare the second optimal path set corresponding to the first optimal path set with the first common subpath to obtain the network node of the second optimal path set that skips the first common subpath, and use the network node as a skipped node; use the network node in the skipped node that does not appear in the second optimal path group as a node where network congestion occurs.

[0116] It is understandable that the explanation, specific implementation, beneficial effects, examples, etc. of the relevant contents in the device provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.

[0117] In a third aspect, an embodiment of the present invention provides a computer-readable medium, on which computer instructions are stored. When the computer instructions are executed by a processor, the processor executes the method provided in the first aspect.

[0118] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can be enabled to read and execute the program code stored in the storage medium.

[0119] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0120] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0121] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0122] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0123] It is understandable that the explanation, specific implementation methods, beneficial effects, examples, etc. of the relevant contents in the computer-readable medium provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.

[0124] In a fourth aspect, an embodiment of the present specification provides a computing device, including a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, it implements the method in any embodiment of the specification.

[0125] It is understandable that the explanation, specific implementation, beneficial effects, examples, etc. of the relevant contents in the computing device provided in the embodiment of the present invention can be found in the corresponding parts of the method provided in the first aspect, and will not be repeated here.

[0126] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0127] Those skilled in the art should be aware that in one or more of the above examples, the functions described in the present invention can be implemented by hardware, software, widgets, or any combination thereof. When implemented by software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium.

[0128] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solution of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for identifying network congested nodes, characterized in that: include: S1. Construct a network topology model and determine a total network delay matrix corresponding to the network topology model; wherein the network topology model is a topology structure formed by each network node in the network environment; S2, setting multiple groups of start and end nodes, and initializing various parameters involved in the ant algorithm; wherein each group of start and end nodes includes a start node and an end node, and the start node and the end node are both network nodes in the network topology model; S3. For each group of start and end nodes, the ant algorithm is used to start from the start node in the group of start and end nodes, and the end node in the group of start and end nodes is cyclically searched in the network total delay matrix to obtain the optimal path corresponding to the group of start and end nodes, and each two optimal paths with common subpaths are formed into a first optimal path group, and each first optimal path group is formed into a first optimal path set; S4. Randomly select a first optimal path group from the first optimal path set, and reduce the data processing capabilities of network nodes on a common sub-path in the first optimal path group; S5. For each group of start and end nodes, the ant algorithm is used to start from the start node in the group of start and end nodes, and the end node in the group of start and end nodes is cyclically searched in the network total delay matrix to obtain the optimal path corresponding to the group of start and end nodes, and each two optimal paths with common sub-paths are formed into a second optimal path group, and each second optimal path group is formed into a second optimal path set; S6. Compare the first optimal path group and the second optimal path group corresponding to the first optimal path set and the second optimal path set to obtain skipped nodes, and determine nodes where network congestion occurs according to the skipped nodes.

2. The method according to claim 1, characterized in that The determining of the total network delay matrix corresponding to the network topology model includes: According to the distances between the various network nodes in the network topology model, a network node distance matrix corresponding to the network topology model is constructed; Determine a corresponding network propagation delay matrix according to the network node distance matrix and the data transmission speed between the network nodes; Determine the network queuing delay matrix; The network propagation delay matrix and the network queuing delay matrix are added together to obtain the network total delay matrix.

3. The method according to claim 2, characterized in that The determining of the network queuing delay matrix comprises: The following formula is used to calculate each network queuing delay in the network queuing delay matrix: Among them, W is the network queuing delay, ρ is the service intensity, λ is the data arrival rate, and μ is the node service rate.

4. The method according to claim 3, characterized in that: The reducing the data processing capability of the network nodes on the common sub-path in the first optimal path group includes: increasing the node service rate corresponding to the network nodes on the common sub-path in the first optimal path group.

5. The method according to claim 1, characterized in that The parameters involved in the ant algorithm include the initial optimal path corresponding to each group of start and end nodes, the pheromone concentration of each network node and the total number of preset cycles; Correspondingly, the ant algorithm is used to start from the starting node in the group of starting and ending nodes, and cyclically search for the ending node in the group of starting and ending nodes in the network total delay matrix to obtain the optimal path corresponding to the group of starting and ending nodes, including: A1. Place each ant on the starting node of the group of start and end nodes; A2. Calculate the corresponding transfer probability of each adjacent node for the current node and the pheromone concentration of each adjacent node where each ant is located; determine whether the adjacent node with the highest transfer probability is in the taboo table corresponding to the ant; if not in the taboo table, place the adjacent node with the highest transfer probability in the taboo table corresponding to the ant, and use the adjacent node with the highest transfer probability as the next hop node; if in the taboo table, calculate the corresponding transfer probabilities of other adjacent nodes except the adjacent node with the highest transfer probability, and determine the next hop node according to the corresponding transfer probabilities of the other adjacent nodes and the taboo table; use the next hop node as the current node of the ant; wherein the taboo table of an ant includes the network nodes that the ant has passed through; A3, determine whether the current node of each ant is the end node of the group of start and end nodes; A4. If yes, determine whether to update the optimal path corresponding to the group of start and end nodes based on the total delay of the path traveled by the ant; otherwise, update the pheromone concentration of each network node and increase the current cycle number by 1; A5. Determine whether the current number of cycles is greater than the preset total number of cycles; if it is greater than the preset total number of cycles, output the current optimal path of the group of start and end nodes; if it is less than or equal to the preset total number of cycles, return to A1.

6. The method according to claim 5, characterized in that The number of ants is the integer of Q, where Q is the number of network nodes in the network topology model*0.

5.

7. The method according to claim 1, characterized in that The step of comparing the first optimal path group and the second optimal path group corresponding to the first optimal path set and the second optimal path set to obtain a skipped node, and determining a node where network congestion occurs according to the skipped node, includes: Determine a common subpath of two optimal paths in each first optimal path group in the first optimal path set, and record it as a first common subpath; Compare the second optimal path set corresponding to the first optimal path set with the first common sub-path to obtain a network node where the second optimal path set skips the first common sub-path, and use the network node as a skipped node; The network nodes among the skipped nodes that do not appear in the second optimal path group are regarded as nodes where network congestion occurs.

8. A network congestion node identification device, characterized in that: include: The matrix determination module is used to execute: S1, construct a network topology model, and determine the network total delay matrix corresponding to the network topology model; wherein the network topology model is a topology structure formed by each network node in the network environment; An initialization module, used to execute: S2, setting multiple groups of start and end nodes, and initializing various parameters involved in the ant algorithm; wherein each group of start and end nodes includes a start node and an end node, and the start node and the end node are both network nodes in the network topology model; The first search module is used to execute: S3, for each group of start and end nodes, using the ant algorithm to start from the start node in the group of start and end nodes, cyclically searching for the end node in the group of start and end nodes in the network total delay matrix, to obtain the optimal path corresponding to the group of start and end nodes, forming a first optimal path group with every two optimal paths having a common subpath, and forming each first optimal path group into a first optimal path set; A capability down-adjustment module is configured to execute: S4, randomly selecting a first optimal path group from the first optimal path set, and reducing the data processing capabilities of network nodes on a common sub-path in the first optimal path group; The second search module is used to execute: S5, for each group of start and end nodes, using the ant algorithm to start from the start node in the group of start and end nodes, cyclically searching for the end node in the group of start and end nodes in the network total delay matrix, to obtain the optimal path corresponding to the group of start and end nodes, forming a second optimal path group with every two optimal paths having a common sub-path, and forming each second optimal path group into a second optimal path set; The node identification module is used to execute: S6, comparing the first optimal path set and the second optimal path group corresponding to the second optimal path set to obtain skipped nodes, and determining the node where network congestion occurs based on the skipped nodes.

9. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed in a computer, the computer is caused to execute the method according to any one of claims 1 to 7.

10. A computing device, characterized in that The method comprises a memory and a processor, wherein the memory stores executable codes, and when the processor executes the executable codes, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Network congestion node identification method and system based on ant colony algorithm

    CN114553742A