# US 2021/0288899 A1 · Method and device for detecting network reliability

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0288899 A1
- Document ID: US20210288899A1
- Status: Published application
- Kind: A1
- Application number: 17/334,583
- Filed: 2021-05-28
- Published: 2021-09-16
- Earliest claimed: 2018-11-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Xiaobin JIANG; Xiaojun LIU; Xiaoqian JIA
- Web page: https://patentgrep.com/patent/US20210288899A1

## CPC

- H04L 43/50: Testing arrangements
- H04L 43/0811: by checking connectivity
- H04L 43/0817: by checking functioning
- H04L 43/0835: {One way packet loss}
- H04L 43/0852: Delays
- H04L 43/0847: {Transmission error}
- H04L 43/10: Active monitoring, e.g. heartbeat, ping or trace-route
- H04L 43/16: Threshold monitoring
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Embodiments of this application disclose a method and a device for detecting network reliability. The method includes: A detection apparatus obtains a first quantity of data packets included in a first packet sent by a first network node to a second network node. The detection apparatus obtains first feedback information sent by the second network node, where the first feedback information includes a second quantity of data packets included in the first packet received by the second network node. The detection apparatus calculates communication service availability of a network channel from the first network node to the second network node based on at least one of the first quantity or the second quantity. Embodiments of this application can quickly and accurately detect and evaluate the network reliability.

## Claims

### Claim 1

A method for detecting network reliability, comprising:
obtaining, by a detection apparatus, a first quantity of data packets comprised in a first packet sent by a first network node to a second network node;
obtaining, by the detection apparatus, first feedback information sent by the second network node, wherein the first feedback information comprises a second quantity of data packets comprised in the first packet received by the second network node; and
calculating, by the detection apparatus, communication service availability (CSA) of a network channel from the first network node to the second network node based on at least one of the first quantity or the second quantity.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
sending, by the detection apparatus, the first packet to the first network node; and
receiving, by the detection apparatus, second feedback information sent by the first network node, wherein the second feedback information comprises the first quantity of data packets comprised in the first packet.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
determining, by the detection apparatus, the first quantity; and
sending, by the detection apparatus, indication information to the first network node, wherein the indication information is used to indicate the first network node to send the first packet to the second network node, and the first packet comprises the data packets of the first quantity.

### Claim 4 (depends on 1)

The method according to claim 1, further comprising:
sending, by the detection apparatus, indication information to the first network node, wherein the indication information is used to indicate the first network node to send the first packet; and
receiving, by the detection apparatus, second feedback information sent by the first network node, wherein the second feedback information comprises the first quantity of data packets comprised in the first packet.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the first packet is a special packet sent by the first network node to the second network node and further comprising:
receiving, by the detection apparatus, second feedback information sent by the first network node, wherein the second feedback information comprises the first quantity of data packets comprised in the first packet.

### Claim 6 (depends on 1)

The method according to claim 1, further comprising:
calculating, by the detection apparatus, a ratio of the second quantity to the first quantity; and
determining the ratio as the communication service availability of the network channel from the first network node to the second network node.

### Claim 7 (depends on 1)

The method according to claim 1, further comprising:
determining, by the detection apparatus based on the communication service availability CSA of the network channel from the first network node to the second network node, whether a fault occurs on the network channel from the first network node to the second network node.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the first network node is coupled to the second network node via a plurality of network channels, and further comprising:
determining, by the detection apparatus, CSA of each of the plurality of network channels from the first network node to the second network node; and
selecting, by the detection apparatus, a target network channel from the plurality of network channels based on the CSA of each network channel, wherein the target network channel is used to transmit data from the first network node to the second network node.

### Claim 9

A detection apparatus, comprising a first obtaining unit, a second obtaining unit, and a calculation unit, wherein
the first obtaining unit is configured to obtain a first quantity of data packets comprised in a first packet sent by a first network node to a second network node;
the second obtaining unit is configured to obtain first feedback information sent by the second network node, wherein the first feedback information comprises a second quantity of data packets comprised in the first packet received by the second network node; and
the calculation unit is configured to calculate communication service availability (CSA) of a network channel from the first network node to the second network node based on at least one of the first quantity or the second quantity.

### Claim 10 (depends on 9)

The apparatus according to claim 9, wherein the first obtaining unit is configured to:
send the first packet to the first network node; and
receive second feedback information sent by the first network node, wherein the second feedback information comprises the first quantity of data packets comprised in the first packet.

### Claim 11 (depends on 9)

The apparatus according to claim 9, wherein the first obtaining unit is configured to:
determine the first quantity; and
send indication information to the first network node, wherein the indication information is used to indicate the first network node to send the first packet to the second network node, and the first packet comprises the data packets of the first quantity.

### Claim 12 (depends on 9)

The apparatus according to claim 9, wherein the first obtaining unit is configured to:
send indication information to the first network node, wherein the indication information is used to indicate the first network node to send the first packet; and
receive second feedback information sent by the first network node, wherein the second feedback information comprises the first quantity of data packets comprised in the first packet.

### Claim 13 (depends on 9)

The apparatus according to claim 9, wherein the first packet is a special packet sent by the first network node to the second network node; and
the first obtaining unit is configured to:
receive second feedback information sent by the first network node, wherein the second feedback information comprises the first quantity of data packets comprised in the first packet.

### Claim 14 (depends on 9)

The apparatus according to claim 9, wherein the calculation unit is configured to:
calculate a ratio of the second quantity to the first quantity; and
determine the ratio as the communication service availability of the network channel from the first network node to the second network node.

### Claim 15 (depends on 9)

The apparatus according to claim 9, further comprising a determining unit, wherein the determining unit is configured to:
determine, based on the communication service availability CSA of the network channel from the first network node to the second network node, whether a fault occurs on the network channel from the first network node to the second network node.

### Claim 16 (depends on 9)

The apparatus according to claim 9, wherein the first network node is coupled to the second network node via a plurality of network channels, the apparatus further comprises a selection unit, and the selection unit is configured to:
determine CSA of each of the plurality of network channels from the first network node to the second network node; and
select a target network channel from the plurality of network channels based on the CSA of each network channel, wherein the target network channel is used to transmit data from the first network node to the second network node.

### Claim 17

A network element, comprising a detection module, a first module, and a second module, the detection module comprising a first obtaining submodule, a second obtaining submodule, and a calculation submodule, wherein
the first obtaining submodule is configured to obtain a first quantity of data packets comprised in a first packet sent by the first module to the second module;
the second obtaining submodule is configured to obtain first feedback information sent by the second module, wherein the first feedback information comprises a second quantity of data packets comprised in the first packet received by the second module; and
the calculation submodule is configured to calculate communication service availability (CSA) of a network channel from the first module to the second module based on at least one of the first quantity or the second quantity.

### Claim 18 (depends on 17)

The network element according to claim 17, wherein the first obtaining submodule is configured to:
send the first packet to the first module; and
receive second feedback information sent by the first module, wherein the second feedback information comprises the first quantity of data packets comprised in the first packet.

### Claim 19 (depends on 17)

The network element according to claim 17, wherein the first obtaining submodule is configured to:
determine the first quantity; and
send indication information to the first module, wherein the indication information is used to indicate the first module to send the first packet to the second module, and the first packet comprises the data packets of the first quantity.

### Claim 20 (depends on 17)

The network element according to claim 17, wherein the first obtaining submodule is configured to:
send indication information to the first module, wherein the indication information is used to indicate the first module to send the first packet; and
receive second feedback information sent by the first module, wherein the second feedback information comprises the first quantity of data packets comprised in the first packet.
