Method for fast weighing and selecting port

The present invention discloses a method of rapidly weighting and selecting a port, which comprises the following steps: A1. a weight value is set for the port of each link sending data; A2. a port list is created, a gradually increasing weight value is stored in a table header to be used as a weigh...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: GONG ZHIBO, WANG JIANGUO, LI XINSHUANG, CUI PENG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The present invention discloses a method of rapidly weighting and selecting a port, which comprises the following steps: A1. a weight value is set for the port of each link sending data; A2. a port list is created, a gradually increasing weight value is stored in a table header to be used as a weighted value, and the table entry stores the links sending data and the port information; A3. when transmitting the data flow from a plurality of links, the port list is read according to the weight value of each port, and the data flow is diverted to the links corresponding to each port, and is transmitted. Thus solving the problem of how to select the port of the sending link, and effectively transmit the data through each link when a plurality of ports exist; and the rapid weighted selection port can be operated in multi-link, to improve the efficiency of port selection. Meanwhile, the cost of statistics and storing the intermediate result, the instruction number and the complexity of the code are reduced, and the