US 12,356,251 B2
Data transmission method and apparatus
Hui Jin, Beijing (CN); Hongcheng Zhuang, Shenzhen (CN); Yun Liu, Shenzhen (CN); and Fenghui Dou, Beijing (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Appl. No. 17/614,293
Filed by Huawei Technologies Co., Ltd., Shenzhen (CN)
PCT Filed May 26, 2020, PCT No. PCT/CN2020/092324
§ 371(c)(1), (2) Date Nov. 24, 2021,
PCT Pub. No. WO2020/238895, PCT Pub. Date Dec. 3, 2020.
Claims priority of application No. 201910451811.6 (CN), filed on May 28, 2019.
Prior Publication US 2022/0174547 A1, Jun. 2, 2022
Int. Cl. H04W 28/14 (2009.01); H04W 76/15 (2018.01)
CPC H04W 28/14 (2013.01) [H04W 76/15 (2018.02)] 20 Claims
OG exemplary drawing
 
1. A method implemented by a first terminal device, wherein the method comprises:
establishing, using a first communications technology, a first communications connection to a network;
obtaining, using a second terminal device and a second communications technology, a second communications connection with the second terminal device;
when a preset condition is met:
establishing a first Transmission Control Protocol (TCP) connection to an application server;
establishing a second TCP connection to an application client on the second terminal device;
receiving, from the application server and through the first TCP connection, first service data;
buffering the first service data in a second buffer by:
obtaining a first buffer that is occupied by a first service carried by a third TCP connection and that is in a second terminal device;
setting the second buffer in the first terminal device for a second service that is carried by the second TCP connection, wherein a first size of the first buffer is equal to a second size of the second buffer;
adjusting the second buffer based on a first download rate and a second download rate, wherein the first download rate is a first rate at which the second terminal device downloads the first service data from the first terminal device within a first preset duration through the second communications connection, and wherein the second download rate is a second rate at which the first terminal device downloads the first service data from the application server within the first preset duration through the first communications connection; and
buffering the first service data in the second buffer; and
sending, through the second TCP connection, the first service data to the second terminal device,
wherein the preset condition comprises a quantity of data packets that are successfully received by the second terminal device within a second preset duration through the third TCP connection is less than a preset threshold, and
wherein the third TCP connection is between the second terminal device and the application server.