Patent ID: 11870701
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
Field: Digital communication (Electrical engineering)
Classification: CPC H | IPC H

Claim 0:
1. A data transmission method performed by a switch located at a data center, wherein the data center comprises a first site and a second site, at least two links are established between the first site and the second site, each link corresponds to at least one service type, and the method comprises:
obtaining, by the switch, a first data packet sent by a virtual machine, wherein the switch and the virtual machine are located at the first site;
identifying, by the switch, a service type of the first data packet;
determining, by the switch, routing information of the first data packet based on the service type of the first data packet, wherein the routing information indicates a bearer link for transmitting the first data packet;
sending, by the switch, the first data packet to the second site based on the routing information, wherein the first data packet is transmitted to the second site through the bearer link;
obtaining, by the switch, a second data packet of the virtual machine, wherein the second data packet and the first data packet have a same service type and a same destination address;
determining, by the switch, differential data between the first data packet and the second data packet; and
sending, by the switch, the differential data to the second site based on the routing information, wherein the differential data is transmitted to the second site through the bearer link.