Data packet processing method, network traffic management method, apparatus, and system
First Claim
1. A data packet processing method, comprising:
- acquiring, by a terminal, an aggregation flow table, the aggregation flow table reflecting a management policy for managing network traffic of a first network and network traffic of a second network, the aggregation flow table comprising a network traffic offloading ratio indicating a ratio of a number of data packets sent using the first network to a number of data packets sent using the second network;
determining, by the terminal, from the first network and the second network and according to the aggregation flow table, a transmission network used for transmitting a first uplink data packet, the terminal determining which one of the first network and the second network to use as the transmission network based at least in part on the network traffic offloading ratio, an Internet Protocol (IP) address of a first network interface card that is in the terminal being a first address, an IP address of a second network interface card that is in the terminal being a second address, the terminal comprising a virtual bridge for managing the first network interface card and the second network interface card, and a source IP address of the first uplink data packet in the terminal is an IP address of the virtual bridge;
transmitting, through the first network, the first uplink data packet to a gateway using the first network interface card when the terminal determines to transmit the first uplink data packet using the first network, the source IP address of the first uplink data packet is changed from the IP address of the virtual bridge to the first address before the first uplink data packet is being transmitted using the first network; and
transmitting, through the second network, the first uplink data packet to the gateway using the second network interface card when the terminal determines to transmit the first uplink data packet using the second network, the source IP address of the first uplink data packet is changed from the IP address of the virtual bridge to the second address before the first uplink data packet is being transmitted using the second network.
1 Assignment
0 Petitions
Accused Products
Abstract
A data packet processing method includes acquiring, by a terminal, an aggregation flow table, where the aggregation flow table includes a management policy for managing network traffic of a first network and network traffic of a second network, determining, by the terminal, according to the aggregation flow table, a transmission network used for transmitting a first uplink data packet, and when the terminal determines to transmit the first uplink data packet using the first network, sending the first uplink data packet to the first network using a first network interface card, and forwarding the first uplink data packet to a gateway, and when the terminal determines to transmit the first uplink data packet using the second network, sending, by the terminal, the first uplink data packet to the second network using a second network interface card, and forwarding the first uplink data packet to a gateway.
18 Citations
20 Claims
-
1. A data packet processing method, comprising:
-
acquiring, by a terminal, an aggregation flow table, the aggregation flow table reflecting a management policy for managing network traffic of a first network and network traffic of a second network, the aggregation flow table comprising a network traffic offloading ratio indicating a ratio of a number of data packets sent using the first network to a number of data packets sent using the second network; determining, by the terminal, from the first network and the second network and according to the aggregation flow table, a transmission network used for transmitting a first uplink data packet, the terminal determining which one of the first network and the second network to use as the transmission network based at least in part on the network traffic offloading ratio, an Internet Protocol (IP) address of a first network interface card that is in the terminal being a first address, an IP address of a second network interface card that is in the terminal being a second address, the terminal comprising a virtual bridge for managing the first network interface card and the second network interface card, and a source IP address of the first uplink data packet in the terminal is an IP address of the virtual bridge; transmitting, through the first network, the first uplink data packet to a gateway using the first network interface card when the terminal determines to transmit the first uplink data packet using the first network, the source IP address of the first uplink data packet is changed from the IP address of the virtual bridge to the first address before the first uplink data packet is being transmitted using the first network; and transmitting, through the second network, the first uplink data packet to the gateway using the second network interface card when the terminal determines to transmit the first uplink data packet using the second network, the source IP address of the first uplink data packet is changed from the IP address of the virtual bridge to the second address before the first uplink data packet is being transmitted using the second network. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A data packet processing method, comprising:
-
receiving, by a gateway, a second uplink data packet from a first network or a second network; acquiring a host identifier and a source port number that are of the second uplink data packet from the second uplink data packet, the second uplink data packet being a data packet that is from a terminal using the first network or the second network determined according to an aggregation flow table, the aggregation flow table comprising a network traffic offloading ratio indicating a ratio of a number of data packets sent using the first network to a number of data packets sent using the second network, which one of the first network and the second network that is used as a transmission network being determined based at least in part on the network traffic offloading ratio, the terminal comprising a virtual bridge for managing a first network interface card and a second network interface card, a source IP address of the second uplink data packet in the terminal is an IP address of the virtual bridge, the source IP address of the second uplink data packet is changed from the IP address of the virtual bridge to a first address of the first network interface card before the second uplink data packet is being transmitted using the first network, and the source IP address of the second unlink data packet is changed from the IP address of the virtual bridge to a second address of the second network interface card before the second uplink data packet is being transmitted the second network; encapsulating, by the gateway, the second uplink data packet and a first uplink data packet into a third uplink data packet, the first uplink data packet being a data packet that is received by the gateway from the first network or the second network and that has a same host identifier and a same source port number as the second uplink data packet; sending, by the gateway, the third uplink data packet to the Internet; and sending the third uplink data packet to the target server using the Internet, a source Internet Protocol (IP) address of the third uplink data packet is a third address, and the third address being an IP address that is allocated by the Internet to the gateway and that is used to receive data from the Internet and send data to the Internet. - View Dependent Claims (7, 8)
-
-
9. A network traffic management method, comprising:
-
receiving, by an aggregation controller, a network load from a first network and a network load from a second network; determining, by the aggregation controller according to the network load of the first network, the network load of the second network, and a configured aggregation policy, whether to use a network transmission manner of aggregating the first network with the second network; generating, by the aggregation controller, an aggregation flow table when the aggregation controller determines to use the network transmission manner of aggregating the first network with the second network, the aggregation flow table reflecting a management policy for managing network traffic of the first network and network traffic of the second network, the aggregation flow table comprising a network traffic offloading ratio indicating a ratio of a number of data packets sent using the first network to a number of data packets sent using the second network; and separately sending, by the aggregation controller, the aggregation flow table to a terminal and a gateway, a communication connection being between the aggregation controller and each of the terminal and the gateway, the terminal comprising a virtual bridge for managing a first network interface card and a second network interface card, a source Internet Protocol (IP) address of a to-be-transmitted uplink data packet in the terminal is an IP address of the virtual bridge, the source IP address of the to-be-transmitted uplink data packet is changed from the IP address of the virtual bridge to a first address of the first network interface card before the to-be-transmitted uplink data packet is being transmitted using the first network, and the source IP address of the to-be-transmitted uplink data packet is changed from the IP address of the virtual bridge to a second address of the second network interface card before the to-be-transmitted uplink data packet is being transmitted using the second network. - View Dependent Claims (10, 11, 12)
-
-
13. A terminal, comprising:
-
a processor; and a memory coupled to the processor, the processor being configured to execute operation instructions stored in the memory in order to; acquire an aggregation flow table, the aggregation flow table reflecting a management policy for managing network traffic of a first network and network traffic of a second network, the aggregation flow table further comprising a network traffic offloading ratio indicating a ratio of a number of data packets sent using the first network to a number of data packets sent using the second network; determine, from the first network and the second network and according to the aggregation flow table, a transmission network used for transmitting a first uplink data packet, the terminal determining which one of the first network and the second network to use as the transmission network based at least in part on the network traffic offloading ratio, an internetworking Internet Protocol (IP) address of a first network interface card that is in the terminal being a first address, an IP address of a second network interface card that is in the terminal being a second address, the terminal comprising a virtual bridge for managing the first network interface card and the second network interface card, and a source IP address of the first uplink data packet in the terminal is an IP address of the virtual bridge; transmit the first uplink data packet to a getaway through the first network using the first network interface card when it is determined to transmit the first uplink data packet using the first network, the source IP address of the first uplink data packet is changed from the IP address of the virtual bridge to the first address before the first uplink data packet is being transmitted using the first network; and transmit the first uplink data packet to the getaway through the second network using the second network interface card when it is determined to transmit the first uplink data packet using the second network, the source IP address of the first uplink data packet is changed from the IP address of the virtual bridge to the second address before the first uplink data packet is being transmitted using the second network. - View Dependent Claims (14, 15, 16)
-
-
17. A gateway, comprising:
-
a processor, and a memory coupled to the processor, the processor being configured to execute operation instructions stored in the memory in order to; receive a second uplink data packet from a first network or a second network; acquire a host identifier and a source port number that are of the second uplink data packet from the second uplink data packet, the second uplink data packet being a data packet that is from a terminal using the first network or the second network determined according to an aggregation flow table, the aggregation flow table comprising a network traffic offloading ratio indicating a ratio of a number of data packets sent using the first network to a number of data packets sent using the second network, which one of the first network and the second network that is used as a transmission network being determined based at least in part on the network traffic offloading ratio, ratio, the terminal comprising a virtual bridge for managing a first network interface card and a second network interface card, a source IP address of the second uplink data packet in the terminal is an IP address of the virtual bridge, the source IP address of the second uplink data packet is changed from the IP address of the virtual bridge to a first address of the first network interface card before the second uplink data packet is being transmitted using the first network, and the source IP address of the second uplink data packet is changed from the IP address of the virtual bridge to a second address of the second network interface card before the second uplink data packet is being transmitted the second network; encapsulate the second uplink data packet and a first uplink data packet into a third uplink data packet, the first uplink data packet being a data packet that is received by the gateway from the first network or the second network and that has a same host identifier and a same source port number as the second uplink data packet; send the third uplink data packet to the Internet; and send the third uplink data packet to the target server using the Internet, a source Internet Protocol (IP) address of the third uplink data packet being a third address, and the third address being an IP address that is allocated by the Internet to the gateway and that is used to receive data from the Internet and send data to the Internet. - View Dependent Claims (18)
-
-
19. An aggregation controller, comprising:
-
a processor; and a memory coupled to the processor, the processor being configured to execute operation instructions stored in the memory in order to; receive a network load from a first network and a network load from a second network; determine, according to the network load of the first network, the network load of the second network, and a configured aggregation policy, whether to use a network transmission manner of aggregating the first network with the second network; generate an aggregation flow table when it is determined to use the network transmission manner of aggregating the first network with the second network, the aggregation flow table comprising a management policy for managing network traffic of the first network and network traffic of the second network, the aggregation flow table further comprising a network traffic offloading ratio indicating a ratio of a number of data packets sent using the first network to a number of data packets sent using the second network; and separately send the aggregation flow table to a terminal and a gateway, a communication connection being between the aggregation controller and each of the terminal and the gateway, the terminal comprising a virtual bridge for managing a first network interface card and a second network interface card, a source Internet Protocol (IP) address of a to-be-transmitted uplink data packet in the terminal is an IP address of the virtual bridge, the source IP address of the to-be-transmitted uplink data packet is changed from the IP address of the virtual bridge to a first address of the first network interface card before the to-be-transmitted uplink data packet is being transmitted using the first network, and the source IP address of the to-be-transmitted uplink data packet is changed from the IP address of the virtual bridge to a second address of the second network interface card before the to-be-transmitted uplink data packet is being transmitted using the second network. - View Dependent Claims (20)
-
Specification