IP Library Granted Patent US 12,665,831
Granted Patent B2
US 12,665,831 · App. 17/896,146 · Granted Jun 23, 2026

Transmission quality detection method, apparatus, and system

Inventor: Jie Zhang (Beijing, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04L43/106H04L43/0882
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,665,831
App. No.
17/896,146
Filed
Aug 26, 2022
Granted
Jun 23, 2026
Kind
B2
Art Unit
2461
USPC
370/252
Abstract

A transmission quality detection method, apparatus, and system are disclosed. A first node is configured to send a periodic packet to a second node, determine a first data volume of a target service flow transmitted by the first node in a time interval for two consecutive times of transmitting the periodic packet, and send a first statistical packet including the first data volume to the controller. The second node is configured to determine a second data volume of the target service flow transmitted by the second node in the time interval for two consecutive times of transmitting the periodic packet, and send a second statistical packet including the second data volume to the controller. The controller is configured to determine, based on the first data volume and the second data volume, transmission quality between the first node and the second node.

Claims (44)

1 . A transmission quality detection method performed by a network node, comprising:

transmitting a periodic packet, wherein the periodic packet is sent by a node that generates the periodic packet, wherein the node periodically sends at least one periodic packet to the network node;

determining a data volume of a target service flow transmitted by the network node in a time interval for two consecutive times of transmitting the periodic packet, wherein the data volume comprises at least one of a quantity of a plurality of data packets or a quantity of bytes of the plurality of data packets; and

sending a statistical packet to a controller, wherein the statistical packet comprises the data volume,

wherein the network node is a second node;

the transmitting a periodic packet comprises:

transmitting a periodic packet sent by a first node, and

wherein the method further comprises:

when a duration since the last time of transmitting the periodic packet reaches a target duration, generating a third statistical packet regarding the periodic packet, and sending the third statistical packet to the controller; or

when a duration since the last time of transmitting the periodic packet reaches a target duration and the periodic packet is received again, generating a third statistical packet regarding the periodic packet, and sending the third statistical packet to the controller,

wherein the third statistical packet comprises abnormal indication information of the periodic packet, a timestamp at which the third statistical packet is generated, and a data volume of a target service flow that is transmitted by the second node between the last time of transmitting the periodic packet and the timestamp.

2 . The method according to claim 1 , wherein the network node is a first node, and the transmitting a periodic packet comprises:

receiving the periodic packet sent by an upstream node, and sending the periodic packet to a second node, wherein the upstream node periodically sends at least one periodic packet to the network node; or

sending the periodic packet to a second node based on a detection period.

3 . The method according to claim 2 , further comprising:

receiving the detection period sent by the controller.

4 . The method according to claim 1 , further comprising:

receiving detection information sent by the controller, wherein the detection information comprises an access control list (ACL) rule of the target service flow, and the ACL rule comprises one or more of at least one tuple in a 5-tuple, an interface identifier, or a virtual routing and forwarding (VRF) identifier, wherein the at least one tuple comprises a destination internet protocol (IP) address; and

the determining a data volume of a target service flow transmitted by the network node in a time interval for two consecutive times of transmitting the periodic packet comprises:

determining, according to the ACL rule, the data volume of the target service flow that is indicated by the ACL rule and that is transmitted by the network node in the time interval for two consecutive times of transmitting the periodic packet.

5 . The method according to claim 2 , further comprising: receiving a packet type of the periodic packet sent by the controller, wherein the packet type is one of a heartbeat packet type, an interior gateway protocol hello packet type, or a bidirectional forwarding periodic packet type; and

the sending the periodic packet to a second node based on a detection period comprises:

sending the periodic packet of the packet type to the second node based on the detection period.

6 . A transmission quality detection device, comprising:

at least one processor; and

a memory, coupled to the at least one processor and configured to store instructions that, when executed by the at least one processor, cause the transmission quality detection device to:

transmit a periodic packet, wherein the periodic packet is a packet periodically sent by a node that generates the periodic packet;

determine a data volume of a target service flow transmitted by the transmission quality detection device in a time interval for two consecutive times of transmitting the periodic packet, wherein the data volume comprises at least one of a quantity of a plurality of data packets or a quantity of bytes of the plurality of data packets; and

send a statistical packet to a controller, wherein the statistical packet comprises the data volume,

wherein the transmission quality detection device is a second node and when executed by the at least one processor, the instructions further cause the transmission quality detection device to:

transmit a periodic packet sent by a first node, and

generate, when a duration since the last time of transmitting the periodic packet reaches a target duration, a third statistical packet regarding the periodic packet, and send the third statistical packet to the controller; or

generate, when a duration since the last time of transmitting the periodic packet reaches a target duration and the periodic packet is received again, a third statistical packet regarding the periodic packet, and send the third statistical packet to the controller,

wherein the third statistical packet comprises abnormal indication information of the periodic packet, a timestamp at which the third statistical packet is generated, and a data volume of a target service flow that is transmitted by the second node between the last time of transmitting the periodic packet and the timestamp.

7 . The transmission quality detection device according to claim 6 , wherein the transmission quality detection device is a first node, and when executed by the at least one processor, the instructions further cause the transmission quality detection device to:

receive the periodic packet sent by an upstream node, and send the periodic packet to a second node, wherein the transmission quality detection device periodically sends at least one periodic packet to the transmission quality detection device; or

send the periodic packet to a second node based on a detection period.

8 . The device according to claim 7 , wherein when executed by the at least one processor, the instructions further cause the transmission quality detection device to receive the detection period sent by the controller.

9 . The device according to claim 6 , wherein when executed by the at least one processor, the instructions further cause the transmission quality detection device to:

receive detection information sent by the controller, wherein the detection information comprises an access control list (ACL) rule of the target service flow, and the ACL rule comprises one or more of at least one tuple in a 5-tuple, an interface identifier, or a virtual routing and forwarding (VRF) identifier, wherein the at least one tuple comprises a destination internet protocol (IP) address; and

determine, according to the ACL rule, the data volume of the target service flow that is indicated by the ACL rule and that is transmitted by the transmission quality detection device in the time interval for two consecutive times of transmitting the periodic packet.

10 . The device according to claim 7 , wherein when executed by the at least one processor, the instructions further cause the transmission quality detection device to:

receive a packet type of the periodic packet sent by the controller, wherein the packet type is one of a heartbeat packet type, an interior gateway protocol hello packet type, or a bidirectional forwarding periodic packet type; and

send a periodic packet of the packet type to the second node based on the detection period.