Multi-purpose routing optimization method and optimization system based on hierarchical traversal, and router

By dividing the network topology into multiple levels and assigning congestion weights according to node load, and selecting the best path, the problem of congestion and insufficient flexibility of traditional route optimization strategies in complex network environments is solved, and efficient and reliable route optimization is achieved. .

CN118714062APending Publication Date: 2024-09-27NAT HIGH SPEED TRAIN QINGDAO TECH INNOVATION CENT
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410853446.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The traditional single shortest path routing optimization strategy can easily lead to network congestion when faced with complex network environments, making it difficult to flexibly respond to changes. In large-scale networks, the demand for computing and storage resources increases sharply, and it lacks an effective dynamic adjustment mechanism, which affects network performance.

Method used

The multi-purpose routing optimization method of hierarchical traversal is used to divide the network topology into multiple levels, each level contains similar nodes, and assign congestion weights according to the real-time load of the nodes, select the best path and update the routing table in real time to adapt to the network Environmental changes.

Benefits of technology

It reduces network congestion, improves routing efficiency, enhances network reliability and security, is suitable for complex network environments, and improves network adaptability and scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714062A
    Figure CN118714062A
Patent Text Reader

Abstract

The invention belongs to the technical field of communication, and relates to a hierarchical traversal multi-purpose route optimization method, optimization system and routers, the method comprises the following steps: dividing a network topology structure of a route into a plurality of hierarchies, each hierarchy comprising a group of similar nodes, setting a hierarchy congestion index between adjacent hierarchies, the level congestion index is far greater than the node congestion index; selecting the number of destination nodes according to an address effective bit in a packet header of the data packet, and initializing a route; selecting the next route according to the hierarchy of the one-hop node in the route; selecting paths and pruning congestion nodes in the hierarchy through a traversal algorithm; performing congestion weight assignment according to the real-time load of the node, and obtaining an optimal routing path according to the congestion weight; and updating the routing table in real time according to the selected routing index and the congestion weight so as to adapt to the change of the network environment. The method can reduce the network congestion, improve the routing efficiency, improve the reliability and safety of the network, and is suitable for various complex network environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of communication technology and relates to routing optimization technology, in particular to a hierarchical traversal multi-purpose routing optimization method, an optimization system and a router. Background Art

[0002] In modern communication networks, routing optimization is a key technology to ensure efficient data transmission. Traditional routing optimization strategies usually adopt a single shortest path optimization strategy. Although this method can improve network transmission efficiency to a certain extent, it still has some obvious limitations in practical applications.

[0003] The working principle of traditional routing optimization strategy is based on the shortest path algorithm, which determines the data transmission route by calculating the shortest path from the source node to the target node. This method is simple and easy to implement, with fast calculation speed, and can generate routing paths in a short time. However, when the network scale expands and the network topology complexity increases, the shortcomings of the single shortest path optimization strategy gradually become apparent.

[0004] First, a single shortest path optimization strategy can easily lead to network congestion. When a large amount of data traffic is concentrated on a few shortest paths, the nodes and links on these paths will be under tremendous transmission pressure, which can easily lead to congestion, resulting in reduced network transmission efficiency and even overload failures of some nodes or links.

[0005] Secondly, traditional routing optimization strategies have poor adaptability in complex network environments. In modern communication networks, various application requirements are diverse and the network environment changes frequently. A single shortest path optimization strategy is difficult to flexibly respond to these changes. Faced with different network conditions and application requirements, traditional strategies lack an effective dynamic adjustment mechanism and cannot optimize routing paths in real time, thus affecting overall network performance.

[0006] In addition, traditional routing optimization strategies have low scalability and flexibility. In large-scale networks, the network topology is complex and the number of nodes is huge. The demand for computing and storage resources of a single shortest path optimization strategy increases dramatically, making it difficult to efficiently handle large-scale network environments. At the same time, this strategy lacks a flexible routing adjustment mechanism and cannot flexibly adjust the routing path according to actual needs, limiting the network's scalability and flexibility.

[0007] In summary, although traditional routing optimization strategies can achieve routing optimization to a certain extent, their limitations gradually emerge when facing modern complex network environments. In order to solve these problems, it is necessary to develop more flexible and efficient routing optimization strategies to improve the adaptability and overall performance of the network. Summary of the invention

[0008] In view of the above-mentioned problems such as low routing efficiency in the prior art, the present invention provides a hierarchical traversal multi-purpose routing optimization method, optimization system and router, which can reduce network congestion, improve routing efficiency, improve network reliability and security, and is suitable for various complex network environments.

[0009] In a first aspect, the present invention provides a hierarchical traversal multi-purpose routing optimization method, comprising the following steps:

[0010] Hierarchical division step: The network topology of the routing is divided into several levels. Each level contains a group of similar nodes. The level congestion index is set between adjacent levels. The level congestion index is much larger than the node congestion index.

[0011] Initialization step: select the number of target nodes according to the valid address bits in the data packet header and initialize the route;

[0012] Selection step: Select the next route according to the level of the one-hop node in the route;

[0013] Processing steps: Select paths and prune congested nodes through traversal algorithms within the hierarchy;

[0014] The best path acquisition step: assign congestion weights according to the real-time load of the nodes, and obtain the best routing path based on the congestion weights;

[0015] Update step: Update the routing table in real time according to the selected routing indicators and congestion weights to adapt to changes in the network environment.

[0016] In some embodiments, in the hierarchical division step, the node congestion index is assigned according to the degree of redundancy of the node's real-time data. If multiple target nodes exist in the same level, the node to enter the next level is determined based on the size of the node congestion index.

[0017] In some embodiments, in the hierarchical division step, the communication direction between the hierarchies is unidirectional, and nodes in the same hierarchical level cannot communicate with each other.

[0018] In some embodiments, the data packet packaging method includes packaging messages sent by a processing node to a router, and merging packets with different addresses but the same data to obtain a data packet.

[0019] In some embodiments, the data packet header contains a preamble, multiple addresses and a protocol format frame, and each address includes an address valid bit.

[0020] In some embodiments, in the processing step, a routing metric is recorded each time a highest level node is reached.

[0021] In some embodiments, in the processing step, a traversal algorithm is used to select a path and prune congested nodes, traversal starts from the highest level, the nearest target node is found, and traversal is performed downward layer by layer until the level where the target node is located is reached.

[0022] According to a second aspect of the present invention, a hierarchical traversal multi-purpose routing optimization system is provided, which is used to implement the hierarchical traversal multi-purpose routing optimization method according to the first aspect of the present invention, comprising:

[0023] A hierarchical division module is used to divide the network topology of the routing into several hierarchical levels;

[0024] The initialization module selects the number of target nodes according to the valid address bits in the packet header and initializes the routing;

[0025] Select the module to select the next route according to the level of the one-hop node in the route;

[0026] The processing module selects paths and prunes congested nodes through a traversal algorithm within the hierarchy;

[0027] A storage module, used for storing the recorded routing metrics each time the highest level node is reached during the traversal of the levels;

[0028] The best path acquisition module assigns congestion weights according to the real-time load of the nodes and obtains the best routing path based on the congestion weights;

[0029] The update module updates the routing table in real time according to the selected routing indicators and congestion weights to adapt to changes in the network environment.

[0030] According to a third aspect of the present invention, a router supporting multi-purpose data packet transmission is provided, and the multi-purpose routing optimization method based on the hierarchical traversal described in the first aspect of the present invention comprises:

[0031] An input port for receiving multi-destination data packets sent by a processing node;

[0032] Input buffer, used to cache data packets;

[0033] The data packet disassembly logic module is arranged between the input port and the input buffer. It is used to plan the routing path by traversing the congestion index according to the network level position of the target node of the router when the multi-destination data packet paths are separated, and to decompose the data packets according to the target address, and send the data packets of the target address to each target node according to the planned routing path.

[0034] In some embodiments, the data packet disassembly logic module includes:

[0035] The arbitration control module plans the routing paths between different network layers by traversing the congestion index, and controls the data packets of the target address to be sent to each target node according to the planned routing path;

[0036] The decomposition module unpacks the data packets according to the target address, rearranges the addresses and filters the data packets.

[0037] Compared with the prior art, the advantages and positive effects of the present invention are:

[0038] (1) The present invention takes into account multiple routing indicators and levels, divides the internal network of the route into multiple levels, and traverses the levels until the level where the target node is located during routing. This hierarchical traversal routing strategy optimizes routing efficiency, reduces network congestion, and improves network reliability and security. Compared with the existing traditional single shortest path optimization strategy, it can adapt to various complex network environments, has high scalability and flexibility, provides better support and guarantee for network communication, and avoids the limitations of the traditional single shortest path optimization strategy.

[0039] (2) The present invention appropriately modifies multi-destination data packets to reduce the transmission of duplicate data on the multi-core network and improve data transmission efficiency.

[0040] (3) The present invention optimizes the configuration of the router structure and adds a data packet disassembly logic module between the input port and the input buffer. The data packet disassembly logic module performs routing path planning for multi-destination data packets according to the hierarchical position of the target node of the router by traversing the congestion index, and decomposes the multi-destination data packets according to the target address and sends them to the target node, thereby reducing the transmission of duplicate data on the multi-core network and improving data transmission efficiency. At the same time, it reduces network congestion and improves network reliability and security. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A flowchart of the hierarchical traversal multi-purpose routing optimization method according to an embodiment of the present invention;

[0042] Figure 2 A schematic diagram of the structure of a multi-destination data packet according to an embodiment of the present invention;

[0043] Figure 3 A structural block diagram of the hierarchical traversal multi-purpose routing optimization system described in an embodiment of the present invention;

[0044] Figure 4 The present invention is a flowchart of the unmanned vehicle path point traversal control method described in an embodiment of the present invention.

[0045] In the figure, 1. Hierarchical division module, 2. Initialization module, 3. Selection module, 4. Processing module, 5. Storage module, 6. Optimal path acquisition module, 7. Update module, 8. Input port, 9. Data packet disassembly logic module, 901. Arbitration control module, 902. Decomposition module, 10. Network level, 11. Packet header, 12. Address valid bit. DETAILED DESCRIPTION

[0046] Below, the present invention is described in detail by exemplary embodiments. However, it should be understood that the elements, structures and features in one embodiment may also be beneficially incorporated into other embodiments without further description. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings need not be drawn to scale unless otherwise specified.

[0047] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0048] In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. It should be understood by those skilled in the art that the present disclosure can also be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present disclosure.

[0049] In view of the limitations of the existing traditional single shortest path optimization strategy (for example, it is easy to cause network congestion, low transmission efficiency, low flexibility, etc.), and it cannot be applied to complex network environments, the present invention provides a hierarchical traversal multi-purpose routing optimization method, optimization system and router, which can reduce network congestion, improve routing efficiency, improve network reliability and security, and is applicable to various complex network environments.

[0050] The hierarchical traversal multi-purpose routing optimization method, optimization system and router of the present invention are described in detail below in conjunction with embodiments.

[0051] like Figure 1 As shown, a hierarchical traversal multi-purpose routing optimization method provided by an embodiment of the first aspect of the present invention includes the following steps:

[0052] S1. Hierarchical division step: Divide the network topology structure of the routing into several hierarchies, each hierarchical level contains a group of similar nodes, and the hierarchical congestion index Tn is set between adjacent hierarchical levels, and the hierarchical congestion index Tn is much larger than the node congestion index Sn.

[0053] The hierarchical division makes the network structure clear, and the nodes in each layer are similar, which helps to simplify path selection. There is a congestion index between the layers to distinguish the communication pressure between different layers. The layer congestion index is significantly higher than the node congestion index, ensuring that cross-layer communication congestion is avoided first when selecting a path.

[0054] S2, initialization step: select the number of target nodes according to the valid address bits in the data packet header and initialize the routing.

[0055] The number of target nodes is selected according to the valid address bits of the data packet, so that the routing initialization process matches the actual network requirements.

[0056] S3, selection step: select the next route according to the level of the one-hop node in the route.

[0057] For example: the current target node is at the first level node, and the next target node is at the fourth level. It takes three steps from the first level to the fourth level. Therefore, it is necessary to select the next step of routing, that is, it is necessary to determine how to go about the next step of routing.

[0058] S4, processing steps: select paths and prune congested nodes through traversal algorithms within the hierarchy.

[0059] The traversal algorithm and the pruning algorithm work together to optimize the path within the hierarchy and prune congested nodes to obtain the optimal path.

[0060] S5, optimal path acquisition step: assign congestion weights according to the real-time load of the nodes, and obtain the optimal routing path according to the congestion weights.

[0061] The congestion weight assigned based on real-time load makes path selection more flexible and dynamic, and can adjust the route in time to cope with changes in the network environment.

[0062] S6, update step: update the routing table in real time according to the selected routing indicators and congestion weights to adapt to changes in the network environment.

[0063] In some embodiments, in the hierarchical division step, the node congestion index is assigned according to the redundancy of the node real-time data. If multiple target nodes exist in the same level, the node congestion index is used to determine which node to enter the next level. For example, in a certain level, there are 5 nodes, the node congestion index of node 1 is 3, the node congestion index of node 2 is 1, the node congestion index of node 3 is 2, the node congestion index of node 4 is 3, and the node congestion index of node 4 is 4, then the node 2 is used to enter the next level.

[0064] It should be noted that the node congestion index is assigned according to the degree of redundancy of the node's real-time data. The degree of data redundancy refers to the amount of repeated or redundant data at a certain time node. The higher the redundancy, the greater the node's congestion index. In this way, network traffic can be effectively distributed to avoid data congestion, thereby improving the transmission efficiency and stability of the network. When multiple target nodes exist at the same level, the size of the congestion index of these nodes is used to determine which node to enter the next level. The smaller the congestion index of the node, the higher the priority of data transmission, thereby further optimizing data flow and reducing transmission delays.

[0065] It should also be noted that in different application scenarios, the node congestion index can be assigned in a way that is adjusted according to specific needs. For example, it can be comprehensively considered based on factors such as the node's processing capacity and bandwidth utilization, rather than just relying on the degree of data redundancy.

[0066] In some embodiments, in the hierarchical division step, the communication direction between the hierarchies is unidirectional, and nodes in the same hierarchical level cannot communicate with each other. This communication method ensures the orderliness and stability of data flow and avoids data conflicts and confusion that may be caused by communication between nodes in the same hierarchical level.

[0067] It should be noted that although the communication direction is designed to be unidirectional, in certain specific application scenarios, it is also possible to consider allowing limited two-way communication to adapt to different network requirements.

[0068] In some embodiments, the data packet packaging method includes packaging messages sent by the processing node to the router, and merging packets with different addresses but the same data to obtain a multi-destination data packet. Packaging messages sent by the processing node to the router, and merging packets with different addresses but the same data can reduce the number of data packets and optimize transmission efficiency.

[0069] In some embodiments, see Figure 2 The data packet header contains a preamble, multiple addresses and a protocol format frame, each address includes an address valid bit. Each address includes an address valid bit, which is used to identify whether the address is valid, thereby ensuring the correct transmission and reception of data.

[0070] In some embodiments, the header of the multi-destination data packet contains three destination routing addresses and a valid flag, and 1 to 3 target nodes can be selected. It should be noted that the number of addresses can be set according to actual needs. The number of target nodes is determined based on the valid address bits in the header.

[0071] In some embodiments, in the processing step, each time the highest level node is reached, the routing indicators are recorded. These routing indicators include routing time, node congestion level, transmission delay, packet loss rate, etc. By recording these indicators, network performance can be evaluated and optimized.

[0072] It should be noted that when recording routing indicators, the types of indicators and the recording frequency can be increased or adjusted according to the specific network performance evaluation requirements. For example, indicators such as network traffic and node load can be added to comprehensively evaluate network performance.

[0073] In some embodiments, in the processing step, a traversal algorithm is used to select a path and prune congested nodes, traversing from the highest level to find the nearest target node, and traversing downward layer by layer until the target node is reached. The traversal algorithm starts from the highest level node of the network and traverses and selects nodes layer by layer. At each level, the traversal algorithm calculates the node congestion index based on the real-time data redundancy of the node, and prunes nodes with higher congestion indexes to avoid data flowing through these highly congested nodes. In this way, the algorithm can select an optimal path to effectively guide the data flow to the level where the target node is located.

[0074] It should be noted that the traversal algorithm starts from the highest level and finds the nearest target node. Then, it traverses the network nodes layer by layer, and prunes the congested nodes at each new level to ensure that the data flow does not pass through highly congested nodes, thereby improving the efficiency and stability of data transmission. At each level, the traversal algorithm comprehensively considers the node congestion index, processing power, and data redundancy to select the optimal transmission path. This path selection mechanism ensures the efficiency and reliability of network transmission.

[0075] It should also be noted that in different application scenarios, the traversal algorithm and pruning strategy can be adjusted according to specific needs. For example, the path selection mechanism and pruning strategy of the traversal algorithm can be optimized according to factors such as the processing capacity of the node, bandwidth utilization, and data traffic.

[0076] In some specific application scenarios, different algorithms can be used, such as depth-first search (DFS) and breadth-first search (BFS), to adapt to different network structures and transmission requirements. These algorithms can provide better path selection and pruning effects under specific conditions.

[0077] In addition, the pruning strategy can also be optimized according to specific network conditions, for example, by using a dynamically adjusted pruning threshold, or combining it with a machine learning algorithm to predict the congestion level of a node, thereby performing pruning operations more accurately.

[0078] During data transmission, you can consider using a multi-path transmission mechanism, that is, selecting multiple transmission paths at the same time to transmit data in parallel, so as to further improve network transmission efficiency, network stability and network reliability. This multi-path transmission mechanism can provide higher transmission efficiency and better user experience in specific application scenarios. You can also consider combining the multi-path transmission mechanism with the backup routing mechanism to further improve network stability and reliability.

[0079] In short, the traversal algorithm and pruning strategy can be optimized and adjusted according to specific application requirements and network conditions to achieve the best data transmission effect.

[0080] The multi-purpose routing optimization method of the hierarchical traversal in the embodiment of the present invention effectively manages network congestion by introducing a method of hierarchical division and congestion weight assignment, so that the data transmission path is more optimized, thereby significantly improving the transmission efficiency and stability of the network. The combination of the traversal algorithm and the pruning algorithm ensures that the optimal path is selected within the hierarchy, reduces the impact of congested nodes, and improves the overall routing performance. The routing path can be managed and optimized more effectively, and the efficiency and stability of data transmission can be improved.

[0081] like Figure 3 As shown, a hierarchical traversal multi-purpose routing optimization system provided by the second embodiment of the present invention is used to implement the hierarchical traversal multi-purpose routing optimization method described in the first embodiment of the present invention, including:

[0082] A hierarchical division module 1 is used to divide the network topology structure of the routing into several hierarchical levels;

[0083] Initialization module 2 selects the number of target nodes according to the valid address bits in the packet header and initializes the routing;

[0084] Select module 3 to select the next route according to the level of the one-hop node in the route;

[0085] Processing module 4, selecting paths and pruning congested nodes within the hierarchy through a traversal algorithm;

[0086] The storage module 5 is used to store the recorded routing indicators each time the highest level node is reached during the traversal of the levels;

[0087] The best path acquisition module 6 assigns congestion weights according to the real-time load of the nodes and obtains the best routing path according to the congestion weights;

[0088] The updating module 7 updates the routing table in real time according to the selected routing index and congestion weight to adapt to the changes in the network environment.

[0089] The above modules are integrated into a routing optimization system, and multi-purpose routing optimization is achieved through the flow of data packets between modules. The hierarchical information output by the hierarchical division module is used by the routing selection module. The path processing module interacts with the best path acquisition module to determine the optimal path. Finally, the routing update module updates the routing table to adapt to real-time network environment changes. The close cooperation of each module ensures the real-time and effectiveness of routing optimization.

[0090] In the above-mentioned hierarchical traversal multi-purpose routing optimization system, hierarchical traversal multi-purpose routing optimization is implemented through the following steps. First, the hierarchical division module divides the network topology structure of the route into several levels, each level contains a group of similar nodes, and sets the hierarchical congestion index between adjacent levels, which is much larger than the node congestion index. Then, the routing initialization module selects the number of target nodes according to the valid address bits in the data packet header and initializes the route. The routing selection module selects the next route according to the level of the one-hop node in the route. Within the level, the path is selected by the traversal algorithm, and the congested nodes are avoided by the pruning algorithm. The best path acquisition module assigns congestion weights according to the real-time load of the node, and determines the best routing path according to these weights. Finally, the routing update module updates the routing table in real time according to the selected routing indicators and congestion weights to adapt to changes in the network environment. These steps work together to ensure the real-time and effectiveness of routing optimization.

[0091] The multi-purpose routing optimization system with hierarchical traversal in the embodiment of the present invention can quickly locate and avoid congested nodes in the network through hierarchical division and congestion index management, thereby improving the efficiency of routing selection. The traversal algorithm ensures that the optimal path is found in the shortest time, reducing computing time and resource consumption. By updating the routing table in real time and dynamically adjusting the routing path according to the network status, the data transmission delay and retransmission times caused by network congestion are reduced, thereby reducing the network operation and maintenance costs.

[0092] Figure 4 A router supporting multi-purpose data packet transmission is proposed according to an exemplary embodiment, and the multi-purpose routing optimization method based on the hierarchical traversal described in the embodiment of the first aspect of the present invention includes:

[0093] Input port 8, for receiving multi-destination data packets sent by the processing node;

[0094] An input buffer (not shown in the figure) for caching data packets;

[0095] The data packet disassembly logic module 9 is arranged between the input port and the input buffer. It is used to plan the routing path by traversing the congestion index according to the network layer 10 position of the target node of the router when the multi-destination data packet paths are separated, and decompose the data packet according to the target address, and send the data packet of the target address to each target node according to the planned routing path.

[0096] In some embodiments, the data packet disassembly logic module 9 includes:

[0097] The arbitration control module 901 plans the routing paths between different network layers by traversing the congestion index, and controls the data packets of the target address to be sent to each target node according to the planned routing path;

[0098] The decomposition module 902 performs unpacking, address rearrangement and packet screening on the data packets according to the target address.

[0099] The data packet disassembly logic module performs path planning for multiple addresses according to the relative hierarchical position of the router, and gradually decomposes them according to the target address and sends them to their respective target nodes. For example, if the target nodes of the multi-core multi-purpose data packet A are nodes 3, 7, and 12, the single-destination data packet and multi-destination node information are first generated through the unpacking process. The data packet is sent to the target node 3 through arbitration control T0. Then, the target node 3 is used as the output port and sent to the target node 7 through arbitration control T1. The target node 7 is used as the output port, and the arbitration control T2 selects the information transmission path according to the congestion sorting algorithm (selected according to the real-time load of the node), and transmits it to the target node 12 through one of nodes 9, 10, and 11.

[0100] Specifically, the unpacking process is to split the multi-destination data packets into multiple single-destination data packets according to the set rules. The address re-packing process is to merge single data packets with different addresses and the same data. The data packet screening process is to screen out unnecessary or non-compliant data packets to reduce redundant processes in the network and improve the utilization of network bandwidth.

[0101] Specifically, see Figure 2 The multi-destination data packet header 11 contains a preamble, multiple addresses and a protocol format frame, and each address contains an address valid bit 12. Each address contains an address valid bit, which is used to identify whether the address is valid, thereby ensuring the correct transmission and reception of data. For example: the multi-destination data packet header contains three destination routing addresses and a valid flag bit, and 1 to 3 target nodes can be selected.

[0102] The above-mentioned router of the embodiment of the present invention can efficiently process the transmission task of multi-destination data packets. The design of the data packet disassembly logic module makes the processing of multi-destination data packets more flexible and efficient, and is applicable to a variety of complex network environments. In addition, by caching input data packets, the router can effectively cope with sudden data traffic and avoid network congestion caused by excessive data volume.

[0103] It should be noted that the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the multi-purpose routing optimization method, optimization system and router product of hierarchical traversal according to multiple embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of an instruction, and the module, a program segment or a part of an instruction contains one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.

[0104] The above embodiments are used to explain the present invention rather than to limit the present invention. Any modification and change made to the present invention within the spirit of the present invention and the protection scope of the claims shall fall within the protection scope of the present invention.

Claims

1. A hierarchical traversal multi-purpose routing optimization method, It is characterized in that The following steps are involved: Hierarchical division step: The network topology of the routing is divided into several levels. Each level contains a group of similar nodes. The level congestion index is set between adjacent levels. The level congestion index is much larger than the node congestion index. Initialization step: select the number of target nodes according to the valid address bits in the data packet header and initialize the route; Selection step: Select the next route according to the level of the one-hop node in the route; Processing steps: Select paths and prune congested nodes through traversal algorithms within the hierarchy; The best path acquisition step: assign congestion weights according to the real-time load of the nodes, and obtain the best routing path based on the congestion weights; Update step: Update the routing table in real time according to the selected routing indicators and congestion weights to adapt to changes in the network environment.

2. The hierarchical traversal multi-purpose routing optimization method according to claim 1, It is characterized in that In the hierarchical division step, the node congestion index is assigned according to the redundancy degree of the node real-time data. If multiple target nodes exist in the same level, the node to enter the next level is determined based on the size of the node congestion index.

3. The hierarchical traversal multi-purpose routing optimization method according to claim 1, It is characterized in that In the hierarchical division step, the communication direction between the hierarchies is unidirectional, and nodes in the same hierarchical level cannot communicate with each other.

4. The hierarchical traversal multi-purpose routing optimization method according to claim 1, It is characterized in that The data packet packaging method comprises the following steps: packaging messages sent by a processing node to a router, and merging packets with different addresses but the same data to obtain a multi-destination data packet.

5. The hierarchical traversal multi-purpose routing optimization method according to claim 1 or 4, It is characterized in that The data packet header contains a leading code, multiple addresses and a protocol format frame, and each address contains an address valid bit.

6. The hierarchical traversal multi-purpose routing optimization method according to claim 1, It is characterized in that In the processing step, each time the highest level node is reached, the routing metric is recorded.

7. The hierarchical traversal multi-purpose routing optimization method according to claim 1, It is characterized in that In the processing step, a path is selected and congested nodes are pruned by a traversal algorithm, traversal is started from the highest level, the nearest target node is found, and traversal is performed downward layer by layer until the level where the target node is located is reached.

8. A hierarchical traversal multi-purpose routing optimization system, used to implement the hierarchical traversal multi-purpose routing optimization method according to any one of claims 1 to 7, It is characterized in that include: A hierarchical division module is used to divide the network topology of the routing into several hierarchical levels; The initialization module selects the number of target nodes according to the valid address bits in the packet header and initializes the routing; Select the module to select the next route according to the level of the one-hop node in the route; The processing module selects paths and prunes congested nodes through a traversal algorithm within the hierarchy; A storage module, used for storing the recorded routing metrics each time the highest level node is reached during the traversal of the levels; The best path acquisition module assigns congestion weights according to the real-time load of the nodes and obtains the best routing path based on the congestion weights; The update module updates the routing table in real time according to the selected routing indicators and congestion weights to adapt to changes in the network environment.

9. A router supporting multi-destination data packet transmission, based on the hierarchical traversal multi-destination routing optimization method according to any one of claims 1 to 7, It is characterized in that include: An input port for receiving multi-destination data packets sent by a processing node; Input buffer, used to cache data packets; The data packet disassembly logic module is arranged between the input port and the input buffer. It is used to plan the routing path by traversing the congestion index according to the network level position of the target node of the router when the multi-destination data packet paths are separated, and to decompose the data packets according to the target address and send the data packets of the target address to each target node.

10. The router supporting multi-destination data packet transmission according to claim 9, It is characterized in that The data packet disassembly logic module includes: The arbitration control module plans the routing paths between different network layers by traversing the congestion index, and controls the data packets of the target address to be sent to each target node according to the planned routing path; The decomposition module unpacks the data packets according to the target address, rearranges the addresses and filters the data packets.

Citation Information

Cited By

  • Security gateway based on industrial internet

    CN120567496A

  • High-performance intelligent management method and system for network congestion self-optimization

    CN122001804A

  • A high-performance intelligent management method and system for network congestion self-optimization

    CN122001804B