MESSAGE TRANSMISSION METHOD AND NETWORK DEVICE
The present disclosure provides a packet transmission method and a network device. The method includes: after an output forwarding and processing unit obtains a packet, if the packet belongs to a deterministic flow, storing the packet into a deterministic flow input queue; for each packet in the det...
Gespeichert in:
Hauptverfasser: | , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present disclosure provides a packet transmission method and a network device. The method includes: after an output forwarding and processing unit obtains a packet, if the packet belongs to a deterministic flow, storing the packet into a deterministic flow input queue; for each packet in the deterministic flow input queue, determining encapsulation information corresponding to the packet, wherein the encapsulation information at least includes cyclic queue (CQ) queue information; encapsulating the packet based on the encapsulation information, and storing the encapsulated packet into a deterministic flow output queue; obtaining, by an output interface unit, a packet from the deterministic flow output queue and based on the CQ queue information corresponding to the packet, storing the packet into a CQ queue corresponding to the CQ queue information; determining, by the output interface unit, a target CQ queue corresponding to a current scheduling cycle, and sending a packet in the target CQ queue to an external device within the current scheduling cycle. The technical solutions of the present disclosure can guarantee the forwarding of the deterministic flow is not affected by the forwarding of the best-effort flow and the forwarding of the best-effort flow and the forwarding of the deterministic flow are mutually compatible. |
---|