Data transmission method and communications apparatus
AssigneeHuawei Technologies Co., Ltd.
InventorsAnni Wei, Chunshan Xiong, Xinpeng Wei
Life of this patent
Estimating the term…
Abstract
Embodiments of the present application provide a data transmission method and a communications apparatus. A Hypertext Transfer Protocol version 2 HTTP/2 adaptation layer is configured between an application layer and a Multipath Transmission Control Protocol MPTCP layer of a protocol stack. All frames belonging to a same HTTP/2 stream are allocated to a same MPTCP subflow for transmission, so that a data throughput is large, and system robustness is good, thereby improving HTTP/2 stream transmission performance.
Claims19
A data transmission method, wherein the method is applicable to a communications apparatus, and a protocol stack of the communications apparatus comprises a Hypertext Transfer Protocol (HTTP/2) adaptation layer and a Multipath Transmission Control Protocol (MPTCP) layer, wherein the data transmission method comprises:
- matching, by the HTTP/2 adaptation layer, all HTTP/2 frames belonging to a same HTTP/2 stream to a same MPTCP subflow;
- and
- adding, by the MPTCP layer according to an instruction of the HTTP/2 adaptation layer, all the HTTP/2 frames belonging to the same HTTP/2 stream to one MPTCP subflow for transmission, wherein an MPTCP connection to which the MPTCP subflow belongs has at least one MPTCP subflow.
A communications apparatus, wherein the apparatus is configured to communicate with a peer apparatus, and comprises a processor and a memory;
- and
- the memory is configured to store a group of program code, and the processor is configured to invoke the program code stored in the memory to match all Hypertext Transfer Protocol (HTTP/2) frames belonging to a same HTTP/2 stream to a same Multipath Transmission Control Protocol (MPTCP) subflow;
- and
- add all the HTTP/2 frames belonging to the same HTTP/2 stream to one MPTCP subflow for transmission, wherein an MPTCP connection to which the MPTCP subflow belongs has at least one MPTCP subflow.
A non-transitory processor-readable medium having processor-executable instructions stored thereon for a communications apparatus, and a protocol stack of the communications apparatus comprises a Hypertext Transfer Protocol (HTTP/2) adaptation layer and a Multipath Transmission Control Protocol (MPTCP) layer,
- the processor-executable instructions, when executed by a processor, for causing the apparatus to perform the following:
- matching, by the HTTP/2 adaptation layer, all HTTP/2 frames belonging to a same HTTP/2 stream to a same MPTCP subflow;
- and
- adding, by the MPTCP layer according to an instruction of the HTTP/2 adaptation layer, all the HTTP/2 frames belonging to the same HTTP/2 stream to one MPTCP subflow for transmission, wherein an MPTCP connection to which the MPTCP subflow belongs has at least one MPTCP subflow.
Dependencies are inferred from the claim text.