Method for obtaining path information of data packet and device
AssigneeHuawei Technologies Co., Ltd.
InventorsXingwang Zhou, Feng Li, Jin Li, Xia Zhu, Congjuan Li
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to methods and devices for obtaining path information of a data packet. One example method includes receiving, by a network device, a data packet transmitted in a network, and obtaining, by the network device, path information of the data packet from a source end to a destination end, where the path information is a total hop count of routers passed through by the data packet from the source end to the destination end or a latency of the data packet from the source end to the destination end.
Claims14
A method for determining a packet dropping policy of a data packet, comprising:
- receiving, by a network device, the data packet transmitted in a network;
- obtaining, by the network device, path information of the data packet from a source end to a destination end based on a source address of the source end and a destination address of the destination end of the data packet, wherein the path information comprises a total hop count of routers passed through by the data packet from the source end to the destination end;
- and
- determining, by the network device, the packet dropping policy of the data packet based on the path information when network congestion occurs, wherein
- the packet dropping policy comprises that a dropping probability of a data packet with a relatively large total hop count of routers is less than a dropping probability of a data packet with a relatively small total hop count of routers.
A network device for determining a packet dropping policy of a data packet, wherein the network device comprises:
- a transceiver, the transceiver configured to receive the data packet transmitted in a network;
- and
- at least one processor, the at least one processor configured to obtain path information of the data packet from a source end to a destination end based on a source address of the source end and a destination address of the destination end of the data packet, wherein the path information comprises a total hop count of routers passed through by the data packet from the source end to the destination end;
- and to
- determine the packet dropping policy of the data packet based on the path information when network congestion occurs, wherein
- the packet dropping policy comprises that a dropping probability of a data packet with a relatively large total hop count of routers is less than a dropping probability of a data packet with a relatively small total hop count of routers.
Dependencies are inferred from the claim text.