摘要 |
The embodiments of the present invention provide a load balance method and a flow forwarding device, relate to the field of communications, and can improve the condition of nonuniform load balance under the condition that a flow HASH model is not changed. The method comprises: using a first algorithm to execute the nth load balance computation, wherein n is a natural number more than or equal to 1; after executing the nth load balance computation, judging the load states of output interfaces, wherein the load states of output interfaces can be a light-load state, a heavy-load state or a normal state; if there are output interfaces at a heavy-load state, using a second algorithm to execute the (n+1)th load balance computation on the flow forwarded by the output interfaces at a heavy-load state, wherein the first algorithm and the second algorithm are different; when executing the (n+1)th load balance computation, adding a new item in the output interface list of the forwarding device, wherein the new item corresponds to the output interfaces at a light-load state. The embodiments of the present invention are used for balancing the load. |