Patent ID: 11405489

Abstract:
A method for determining quality of service (QoS) includes receiving a first Internet Protocol (IP) packet, where the first IP packet includes a User Datagram Protocol (UDP) packet and a first IP header, determining, based on information in the first IP packet, a target QoS level to which the UDP packet belongs, dividing the UDP packet into at least two segments, encapsulating each of the at least two segments into a Multipath Transmission Control Protocol (MPTCP) packet, encapsulating the MPTCP packet into a second IP packet, where a payload length of a target IP packet in the second IP packet is equal to a byte length corresponding to the target QoS level, and sending the second IP packet to a peer device using an MPTCP connection with the peer device such that the peer device determines the target QoS level based on the payload length of the target IP packet.