US Patent No. 10,694,554

DATA TRANSMISSION METHOD AND HOST MACHINE


Patent No. 10,694,554
Issue Date June 23, 2020
Title Data Transmission Method And Host Machine
Inventorship Hualin Zhu, Shanghai (CN)
Weisheng Jin, Shanghai (CN)
Assignee Huawei Technologies Co., Ltd., Shenzhen (CN)

Claim of US Patent No. 10,694,554

1. A data transmission method, comprising:obtaining, by a host machine, a first network address of a physical terminal, wherein the physical terminal has started to establish a connection or has established a connection to a mobile network;
setting, by the host machine, a second network address of a virtual terminal to the first network address; and
sending, by the virtual terminal, data to the mobile network by using the first network address and/or receiving, by the virtual terminal, data sent by the mobile network by using the first network address, wherein the virtual terminal runs on the host machine; and, wherein
obtaining, by the host machine, the first network address of the physical terminal comprises:
receiving, by the host machine, a data packet sent by the physical terminal, wherein the physical terminal has established a connection to the mobile network; and
parsing, by the host machine, the data packet to obtain the first network address of the physical terminal; and, wherein
after obtaining, by a host machine, a first network address of a physical terminal, the method further comprises:
when the host machine determines that a first port number of the physical terminal is in conflict with a second port number of the virtual terminal, configuring, by the host machine, the first port number to a third port number, and configuring the second port number to a fourth port number, wherein the first port number is obtained by the host machine by parsing the data packet sent by the physical terminal, and the third port number is not in conflict with the fourth port number; and
sending, by the virtual terminal, data to the mobile network by using the first network address and/or receiving, by the virtual terminal, data sent by the mobile network by using the first network address comprises:
sending, by the virtual terminal, the data to the mobile network by using the first network address and the fourth port number and/or receiving, by the virtual terminal, the data sent by the mobile network by using the first network address and the fourth port number.