# US 2020/0404522 A1 · Method and system for detecting quality of service of service, and device

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

- Number: US 2020/0404522 A1
- Document ID: US20200404522A1
- Status: Published application
- Kind: A1
- Application number: 17/013,393
- Filed: 2020-09-04
- Published: 2020-12-24
- Earliest claimed: 2018-03-29
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Dekui SUN; Ming JIANG; Han ZHOU
- Web page: https://patentgrep.com/patent/US20200404522A1

## CPC

- H04L 41/5009: Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
- H04W 24/08: Testing, {supervising or monitoring} using real traffic
- H04L 43/026: using flow identification
- H04L 43/0858: {One way delays}
- H04L 43/0864: Round trip delays
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A method and system for detecting quality of service of a service, and a device, to detect quality of service of a service in real time. The method includes: generating, by a packet sending device, a first packet, where the first packet includes session information of a service and a packet type of the first packet; and sending, by the packet sending device, the first packet to a packet receiving device, where the first packet is used to detect at least one of quality of service of the service or segment quality of service of the service.

## Claims

### Claim 1

A system for detecting quality of service of a service, wherein the system for detecting quality of service of a service comprises:
a packet sending device; and
a packet receiving device;
wherein
the packet sending device is configured to send a first packet to the packet receiving device, wherein the first packet comprises session information of a service and a packet type of the first packet; and
the packet receiving device is configured to: receive the first packet from the packet sending device, and determine at least one of quality of service of the service or segment quality of service of the service based on the session information of the service and the packet type of the first packet.

### Claim 2 (depends on 1)

The system for detecting quality of service of a service according to claim 1, wherein:
the packet sending device comprises a network device;
the packet receiving device comprises a terminal; and
the system for detecting quality of service of a service further comprises an access device;
wherein
the access device is configured to:
receive the first packet from the network device, and determine first segment quality of service of the service, wherein the first segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the network device; and
insert first segment information of the service and the first segment quality of service of the service into the first packet, and send the first packet to the terminal.

### Claim 3 (depends on 2)

The system for detecting quality of service of a service according to claim 2, wherein
the access device is further configured to receive the first segment information of the service from a session management function network element; and
the first segment information of the service comprises:
a first segment identifier of the service; or
an address of the network device, an address of the access device, and a packet transmission direction; or
an address of the access device.

### Claim 4 (depends on 1)

The system for detecting quality of service of a service according to claim 1, wherein:
the packet sending device comprises a terminal;
the packet receiving device comprises a network device; and
the system for detecting quality of service of a service further comprises an access device; wherein
the access device is configured to:
receive the first packet from the terminal, and determine second segment quality of service of the service, wherein the second segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the terminal; and
insert second segment information of the service and the second segment quality of service of the service into the first packet, and send the first packet to the network device.

### Claim 5 (depends on 4)

The system for detecting quality of service of a service according to claim 4, wherein
the access device is further configured to receive the second segment information of the service from a session management function network element; and
the second segment information of the service comprises:
a second segment identifier of the service; or
an address of the terminal, an address of the access device, and a packet transmission direction; or
an address of the access device.

### Claim 6 (depends on 1)

The system for detecting quality of service of a service according to claim 1, wherein the packet sending device is further configured to:
obtain the session information of the service and the packet type of the first packet; and
encapsulate the session information of the service and the packet type of the first packet by using a first network protocol stack, to obtain the first packet.

### Claim 7 (depends on 1)

The system for detecting quality of service of a service according to claim 1, wherein:
the packet receiving device comprises a terminal;
the packet sending device comprises a network device;
the first packet further comprises first segment information of the service and first segment quality of service of the service, wherein the first segment quality of service of the service comprises quality of service of the service transmitted on a path between an access device and the network device; and
the packet receiving device is further configured to: determine the quality of service of the service based on the session information of the service and the packet type of the first packet; and determine second segment quality of service of the service based on the first segment information of the service, the first segment quality of service of the service, and the quality of service of the service, wherein the second segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the terminal.

### Claim 8 (depends on 1)

The system for detecting quality of service of a service according to claim 1, wherein:
the packet receiving device comprises a network device;
the packet sending device comprises a terminal;
the first packet further comprises second segment information of the service and second segment quality of service of the service, wherein the second segment quality of service of the service comprises quality of service of the service transmitted on a path between an access device and the terminal; and
the packet receiving device is further configured to: determine the quality of service of the service based on the session information of the service and the packet type of the first packet; and determine first segment quality of service of the service based on the second segment information of the service, the second segment quality of service of the service, and the quality of service of the service, wherein the first segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the network device.

### Claim 9 (depends on 1)

The system for detecting quality of service of a service according to claim 1, wherein:
the packet receiving device comprises a terminal;
the packet sending device comprises a network device;
the first packet further comprises a first detection identifier, the first detection identifier indicates to detect the quality of service of the service; and
the packet receiving device is further configured to: determine the quality of service of the service based on the first detection identifier, the session information of the service, and the packet type of the first packet; and receive a second packet from an access device, the second packet comprises the session information of the service, a packet type of the second packet, and a second detection identifier, the second detection identifier indicates to detect second segment quality of service of the service, and the second segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the terminal; determine the second segment quality of service of the service based on the session information of the service, the packet type of the second packet, and the second detection identifier; and determine first segment quality of service of the service based on the second segment quality of service of the service and the quality of service of the service, the first segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the network device.

### Claim 10

A packet sending device, comprising:
at least one processor; and
a non-transitory computer computer-readable storage medium coupled to the at least one processor and configured to store instructions for execution by the at least one processor such that when executed, cause the packet sending device to:
generate a first packet, wherein the first packet comprises session information of a service and a packet type of the first packet; and
send the first packet to a packet receiving device, wherein the first packet is used to detect at least one of quality of service of the service or segment quality of service of the service.

### Claim 11 (depends on 10)

The packet sending device according to claim 10, wherein the at least one processor is configured to execute the instructions to cause the packet sending device to:
obtain the session information of the service and the packet type of the first packet; and
encapsulate the session information of the service and the packet type of the first packet by using a first network protocol stack, to obtain the first packet.

### Claim 12 (depends on 11)

The packet sending device according to claim 11, wherein:
the packet sending device comprises a terminal, and the packet receiving device comprises an access device or a network device; or the packet sending device comprises the access device, and the packet receiving device comprises the terminal; and
the session information of the service is encapsulated by using at least one of a service data adaptation protocol (SDAP) or a packet data convergence protocol (PDCP) in the first network protocol stack, and the packet type of the first packet is encapsulated by using the SDAP or the PDCP in the first network protocol stack.

### Claim 13 (depends on 11)

The packet sending device according to claim 11, wherein:
the packet sending device comprises an access device, and the packet receiving device comprises a network device; or the packet sending device comprises the network device, and the packet receiving device comprises a terminal or the access device; and
the session information of the service and the packet type of the first packet are encapsulated by using a GPRS tunnelling protocol for the user plane (GTP-U) in the first network protocol stack.

### Claim 14

A packet receiving device, comprising:
at least one processor; and
a non-transitory computer computer-readable storage medium coupled to the at least one processor and configured to store instructions for execution by the at least one processor such that when executed, cause the packet receiving device to:
receive a first packet from a packet sending device, wherein the first packet comprises session information of a service and a packet type of the first packet; and
determine at least one of quality of service of the service or segment quality of service of the service based on the session information of the service and the packet type of the first packet.

### Claim 15 (depends on 14)

The packet receiving device according to claim 14, wherein:
the packet receiving device comprises a terminal;
the packet sending device comprises a network device;
the first packet further comprises first segment information of the service and first segment quality of service of the service, wherein the first segment quality of service of the service comprises quality of service of the service transmitted on a path between an access device and the network device; and
the at least one processor is configured to execute the instructions to cause the packet receiving device to:
determine the quality of service of the service based on the session information of the service and the packet type of the first packet; and
determine second segment quality of service of the service based on the first segment information of the service, the first segment quality of service of the service, and the quality of service of the service, wherein the second segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the terminal.

### Claim 16 (depends on 14)

The packet receiving device according to claim 14, wherein:
the packet receiving device comprises a network device;
the packet sending device comprises a terminal;
the first packet further comprises second segment information of the service and second segment quality of service of the service, wherein the second segment quality of service of the service comprises quality of service of the service transmitted on a path between an access device and the terminal; and
the at least one processor is configured to execute the instructions to cause the packet receiving device to:
determine the quality of service of the service based on the session information of the service and the packet type of the first packet; and
determine first segment quality of service of the service based on the second segment information of the service, the second segment quality of service of the service, and the quality of service of the service, wherein the first segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the network device.

### Claim 17 (depends on 14)

The packet receiving device according to claim 14, wherein:
the packet receiving device comprises a terminal;
the packet sending device comprises a network device;
the first packet further comprises a first detection identifier, wherein the first detection identifier is used to indicate to detect the quality of service of the service; and
the at least one processor is configured to execute the instructions to cause the packet receiving device to:
determine the quality of service of the service based on the first detection identifier, the session information of the service, and the packet type of the first packet;
receive a second packet from an access device, wherein the second packet comprises the session information of the service, a packet type of the second packet, and a second detection identifier, the second detection identifier is used to indicate to detect second segment quality of service of the service, and the second segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the terminal;
determine the second segment quality of service of the service based on the session information of the service, the packet type of the second packet, and the second detection identifier; and
determine first segment quality of service of the service based on the second segment quality of service of the service and the quality of service of the service, wherein the first segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the network device.

### Claim 18 (depends on 14)

The packet receiving device according to claim 14, wherein:
the packet receiving device comprises a terminal;
the packet sending device comprises an access device;
the first packet further comprises a second detection identifier, wherein the second detection identifier is used to indicate to detect second segment quality of service of the service, and the second segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the terminal; and
the at least one processor is configured to execute the instructions to cause the packet receiving device to:
determine the second segment quality of service of the service based on the second detection identifier, the session information of the service, and the packet type of the first packet;
receive a second packet from a network device, wherein the second packet comprises the session information of the service, a packet type of the second packet, and a first detection identifier, and the first detection identifier is used to indicate to detect the quality of service of the service;
determine the quality of service of the service based on the session information of the service, the packet type of the second packet, and the first detection identifier; and
determine first segment quality of service of the service based on the second segment quality of service of the service and the quality of service of the service, wherein the first segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the network device.

### Claim 19 (depends on 14)

The packet receiving device according to claim 14, wherein:
the packet receiving device comprises a network device;
the packet sending device comprises an access device;
the first packet further comprises a third detection identifier, wherein the third detection identifier is used to indicate to detect first segment quality of service of the service, and the first segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the network device; and
the at least one processor is configured to execute the instructions to cause the packet receiving device to:
determine the first segment quality of service of the service based on the third detection identifier, the session information of the service, and the packet type of the first packet;
receive a second packet from a terminal, wherein the second packet comprises the session information of the service, a packet type of the second packet, and a first detection identifier, and the first detection identifier is used to indicate to detect the quality of service of the service;
determine the quality of service of the service based on the session information of the service, the packet type of the second packet, and the first detection identifier; and
determine second segment quality of service of the service based on the first segment quality of service of the service and the quality of service of the service, wherein the second segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the terminal.

### Claim 20 (depends on 14)

The packet receiving device according to claim 14, wherein:
the packet receiving device comprises a network device the packet sending device comprises a terminal;
the first packet further comprises a first detection identifier, wherein the first detection identifier is used to indicate to detect the quality of service of the service; and
the at least one processor is configured to execute the instructions to cause the packet receiving device to:
determine the quality of service of the service based on the first detection identifier, the session information of the service, and the packet type of the first packet;
receive a second packet from an access device, wherein the second packet comprises the session information of the service, a packet type of the second packet, and a third detection identifier, the third detection identifier is used to indicate to detect first segment quality of service of the service, and the first segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the network device;
determine the first segment quality of service of the service based on the session information of the service, the packet type of the second packet, and the third detection identifier; and
determine second segment quality of service of the service based on the first segment quality of service of the service and the quality of service of the service, wherein the second segment quality of service of the service comprises quality of service of the service transmitted on a path between the access device and the terminal.
