Data transmission method, apparatus, and device in Wi-Fi network
AssigneeHuawei Technolgoies Co., Ltd.
InventorsPing Fang, Zhengbing Li
Life of this patent
Estimating the term…
Abstract
Embodiments of this application disclose a data transmission method, an apparatus, and a device in a Wi-Fi network, to improve reliability of providing differentiated data transmission services by a network access device. The method includes: receiving an uplink packet; recording a real-time transmission indication and uplink 5-tuple information that are carried in the uplink packet; then receiving a downlink packet, where the downlink packet carries downlink 5-tuple information; and then, if a service type of the downlink packet is a preset service type, and the downlink 5-tuple information matches the uplink 5-tuple information, preferably forwarding the downlink packet based on the real-time transmission indication.
Claims20
A data transmission method implemented by a network access device in a wireless local area network, wherein the data transmission method comprises:
- receiving a first uplink packet that carries uplink 5-tuple information, wherein the uplink 5-tuple information comprises an uplink source Internet Protocol (IP) address, an uplink destination IP address, an uplink source port, an uplink destination port, and an uplink transmission protocol type;
- receiving a first downlink packet that carries downlink 5-tuple information, wherein the downlink 5-tuple information comprises a downlink source IP address, a downlink destination IP address, a downlink source port, a downlink destination port, and a downlink transmission protocol type;
- determining whether a service type of the first uplink packet is a preset service type;
- prioritize forwarding the first downlink packet based on a real-time transmission indication when the service type of the first uplink packet is the preset service type and when the downlink 5-tuple information matches the uplink 5-tuple information;
- and
- not preferably forwarding a second downlink packet that corresponds to the downlink 5-tuple information and is not received within a specified time period,
- wherein the service type is the preset service type when the uplink destination IP address provides a real-time transmission service, the uplink destination port provides the real-time transmission service, the uplink transmission protocol type is used for the real-time transmission service, a bandwidth of the first uplink packet is less than an uplink bandwidth threshold, or a packet length of the first uplink packet is less than an uplink packet length threshold.
A communications apparatus, comprising:
- a first transceiver;
- a second transceiver;
- a processor coupled to the first transceiver and the second transceiver and configured to:
- receive a first uplink packet that carries uplink 5-tuple information, wherein the uplink 5-tuple information comprises an uplink source Internet Protocol (IP) address, an uplink destination IP address, an uplink source port, an uplink destination port, and an uplink transmission protocol type;
- receive a first downlink packet, wherein the first downlink packet carries downlink 5-tuple information, and wherein the downlink 5-tuple information comprises a downlink source IP address, a downlink destination IP address, a downlink source port, a downlink destination port, and a downlink transmission protocol type;
- determine whether a service type of the first uplink packet is a preset service type;
- preferably forward the first downlink packet based on a real-time transmission indication when the service type of the first uplink packet is the preset service type and when the downlink 5-tuple information matches the uplink 5-tuple information;
- and
- not preferably forward a second downlink packet that corresponds to the downlink 5-tuple information and is not received within a specified time period,
- wherein the service type is the preset service type when the first uplink packet meets at least one of the following conditions:
- the uplink destination IP address provides a real-time transmission service, the uplink destination port provides the real-time transmission service, the uplink transmission protocol type is used for the real-time transmission service, a bandwidth of the first uplink packet is less than an uplink bandwidth threshold, or a packet length of the first uplink packet is less than an uplink packet length threshold.
A computer program product comprising computer-executable instructions stored on a non-transitory computer-readable medium that, when executed by a processor, cause a communications apparatus to:
- receive an uplink packet that carries uplink 5-tuple information, wherein the uplink 5-tuple information comprises an uplink source Internet Protocol (IP) address, an uplink destination IP address, an uplink source port, an uplink destination port, and an uplink transmission protocol type;
- receive a downlink packet, wherein the downlink packet carries downlink 5-tuple information, and wherein the downlink 5-tuple information comprises a downlink source IP address, a downlink destination IP address, a downlink source port, a downlink destination port, and a downlink transmission protocol type;
- determine whether a service type of the uplink packet is a preset service type;
- preferably forward the downlink packet based on a real-time transmission indication when the service type of the uplink packet is the preset service type and when the downlink 5-tuple information matches the uplink 5-tuple information;
- and
- not preferably forward a second downlink packet that corresponds to the downlink 5-tuple information and is not received within a specified time period,
- wherein the service type is the preset service type when the uplink destination IP address is configured to provide a real-time transmission service, the uplink destination port provides the real-time transmission service, the uplink transmission protocol type is used for the real-time transmission service, a bandwidth of the uplink packet is less than an uplink bandwidth threshold, or a packet length of the uplink packet is less than an uplink packet length threshold.
Dependencies are inferred from the claim text.