Method and system for counting quantity of active flows and network device

    公开(公告)号:US11489774B2

    公开(公告)日:2022-11-01

    申请号:US17206804

    申请日:2021-03-19

    Abstract: The method includes a first network device receives a first packet of a first group of data packets from a second network device, and increases a current quantity of active flows by 1, to obtain a first quantity of active flows, the first network device receives a last packet of the first group of data packets sent by the second network device, and determines a first congestion value based on a second quantity of data packets that carry an explicit congestion notification (ECN) identifier in the first group of data packets, and when the first congestion value is less than a congestion threshold, the first network device decreases the first quantity of active flows by 1, to obtain a third quantity of active flows, or when the first congestion value is greater than or equal to the congestion threshold, the first network device keeps the first quantity of active flows unchanged.

    Method for sending service packet, network device, and system

    公开(公告)号:US11258717B2

    公开(公告)日:2022-02-22

    申请号:US16886218

    申请日:2020-05-28

    Abstract: A service packet sending method and device include receiving, by a first network device, a Transmission Control Protocol (TCP) packet from a second network device, where the TCP packet includes a service identifier, obtaining, by the first network device, based on the service identifier, a priority of a service, obtaining a TCP window based on the priority of the service, sending a TCP acknowledgement (ACK) packet including the TCP window to the second network device to enable the second network device to calculate a size of a service packet to be sent to the first network device.

Patent Agency Ranking