Method for calculating forwarding shortest path
A shortest path and message forwarding technology, applied in digital transmission systems, data exchange networks, electrical components, etc., can solve the problems of low message forwarding efficiency, high bandwidth occupancy, and unreasonable use of link bandwidth, etc., to improve Forwarding performance, reasonable use of bandwidth, and improved forwarding efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0021] The core idea of the present invention is: recursively traverse and calculate the weight array from the current switch to the destination switch; compare and obtain the minimum value in the weight array from the current switch to the destination switch to obtain the shortest distance from the current switch to the destination switch in the switch stacking system path.
[0022] The implementation of the technical solution will be further described in detail below in conjunction with the accompanying drawings.
[0023] Such as figure 1 As shown, a method for calculating the forwarding shortest path, the method includes the following steps:
[0024] Step 101, create a weight array; initialize the created weight array according to the preset port attributes, so as to obtain the weight array from the switch to its neighbor switch.
[0025] It should be pointed out here that the weight array is used to identify the distance of the packet forwarding path between the switc...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 