Traffic distribution method, device, and system
AssigneeHuawei Technologies Co., Ltd.
InventorJianhua Guo
Life of this patent
Estimating the term…
Abstract
The present invention relates to a traffic distribution method, apparatus, and system. The method includes: receiving a current packet sent by a first entity; acquiring layer 7 application information according to the current packet; if the layer 7 application information is acquired, matching the current packet with a layer 7 traffic distribution policy according to the layer 7 application information; and sending the current packet to a service server after the current packet matches the layer 7 traffic distribution policy. In this way, the present invention implements traffic distribution based on the layer 7 application information, enhances performance of a traffic distribution device, and reduces deployment costs of an operator.
Claims14
A traffic distribution method, comprising:
- receiving a current packet sent by a first entity;
- acquiring layer 7 application information according to the current packet;
- when the layer 7 application information is not acquired, processing the current packet, sending the current packet to a second entity, and buffering the current packet, wherein the buffered packet becomes a historical packet;
- when the layer 7 application information is acquired, matching the current packet with a layer 7 traffic distribution policy according to the layer 7 application information;
- sending the current packet to a service server corresponding to the layer 7 traffic distribution policy after the current packet matches the layer 7 traffic distribution policy;
- and
- when the current packet does not match the layer 7 traffic distribution policy, processing the current packet, sending the processed current packet to the second entity, clearing all historical packets, where the historical packets have been buffered before the traffic distribution device receives the current packet, and canceling the traffic distribution on a data flow to which the current packet belongs.
A traffic distribution device, comprising:
- a receiver, configured to receive a current packet sent by a first entity and transmit the current packet;
- a processor configured to receive the current packet, acquire layer 7 application information according to the current packet, and when the layer 7 application information is acquired, match the current packet with a layer 7 traffic distribution policy according to the layer 7 application information;
- a buffer, configured to, when the layer 7 application information is not acquired, process the current packet, send the current packet to a second entity, and buffer the current packet, wherein the buffered packet becomes a historical packet;
- a traffic distributor, configured to send the current packet to a service server corresponding to the layer 7 traffic distribution policy after the current packet matches the layer 7 traffic distribution policy;
- wherein the traffic distributor is further configured to:
- when the current packet does not match the layer 7 traffic distribution policy, process the current packet, send the processed current packet to the second entity, clear all historical packets, where the historical packets have been buffered before the traffic distribution device receives the current packet, and cancel the traffic distribution on a data flow to which the current packet belongs.
Dependencies are inferred from the claim text.