US 12,126,530 B2
Data transmission method and apparatus, computer readable medium, and electronic device
Feihu Sun, Shenzhen (CN); Dan Zhang, Shenzhen (CN); Jingjing Hao, Shenzhen (CN); and Binhui Ning, Shenzhen (CN)
Assigned to TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED, Shenzhen (CN)
Filed by Tencent Technology (Shenzhen) Company Limited, Shenzhen (CN)
Filed on Apr. 13, 2021, as Appl. No. 17/229,699.
Application 17/229,699 is a continuation of application No. PCT/CN2019/125125, filed on Dec. 13, 2019.
Claims priority of application No. 201910004540.X (CN), filed on Jan. 3, 2019.
Prior Publication US 2021/0234798 A1, Jul. 29, 2021
Int. Cl. H04L 45/74 (2022.01); H04L 69/16 (2022.01); H04W 28/02 (2009.01); H04W 76/15 (2018.01)
CPC H04L 45/74 (2013.01) [H04L 69/16 (2013.01); H04W 28/0289 (2013.01); H04W 76/15 (2018.02)] 20 Claims
OG exemplary drawing
 
1. A data transmission method performed by a computing device, comprising:
receiving first packets and data channel information for transmitting the first packets transmitted by a first device over multiple data channels, wherein the data channel information includes a primary channel identifier and a type of the primary channel and the primary channel is one of a 4G channel and a Wi-Fi channel;
parsing the first packets to obtain address information of the first device, storing the address information that the first device needs to access, and performing aggregation on the first packets according to headers of the first packets, to obtain second packets;
replacing source address information of the second packets with designated address information, to obtain third packets, wherein the designated address information comprises a virtual port assigned to the first device and associated with the address information of the first device;
transmitting the third packets to a second device, the second device being a device that the first device needs to access;
determining fourth packets that need to be transmitted to the first device from packets transmitted by the second device;
replacing destination address information of the fourth packets with the address information of the first device, to obtain fifth packets;
updating the primary channel identifier and the type of the primary channel in the data channel information in accordance with a switch between the 4G channel and the Wi-Fi channel; and
transmitting the fifth packets to the first device over one or more of the multiple data channels according to the updated data channel information.