Method and device for load sharing

A load sharing and outgoing interface technology, applied in the field of communication, can solve problems such as unbalanced load, and achieve the effect of solving unbalanced load and improving the overall utilization rate

Inactive Publication Date: 2011-11-23
BEIJING HUAWEI DIGITAL TECH
View PDF2 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a load sharing method and device, which can solve the problem

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for load sharing
  • Method and device for load sharing
  • Method and device for load sharing

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0037] Example one:

[0038] The embodiment of the present invention provides a load sharing method, which can be used in a network device having a trunk port with multiple members, see figure 2 , figure 2 It is a flowchart of a load sharing method provided by an embodiment of the present invention, and the method includes:

[0039] 201: According to the destination address of the first packet, look up the first logical outgoing interface corresponding to the first packet in the next hop table. The first logical outgoing interface includes multiple physical outgoing interfaces, and each physical outgoing interface corresponds to one Token

[0040] During specific implementation, according to the destination address of the first message, there may be multiple implementation manners for searching the first logical outbound interface corresponding to the first message in the next hop table, and the present invention does not make specific limitations. The network device can be a rout...

Example Embodiment

[0068] Embodiment two:

[0069] The embodiment of the present invention provides a load sharing method, which can be used in a network device having a trunk port with multiple members, see Figure 5 , Figure 5 It is a flowchart of a load sharing method provided by an embodiment of the present invention, and the method includes:

[0070] 501: According to the destination address of the first packet, look up the first logical outgoing interface corresponding to the first packet in the next hop table. The first logical outgoing interface includes multiple physical outgoing interfaces, and each physical outgoing interface corresponds to one Token

[0071] During specific implementation, according to the destination address of the first message, there may be multiple implementation manners for searching the first logical outgoing interface corresponding to the first message in the next hop table, which is not specifically limited in the present invention. The network device can be a swi...

Example Embodiment

[0083] Embodiment three:

[0084] The embodiment of the present invention provides a load sharing device, which can be used in a network device having a trunk port with multiple members. The load sharing device can be figure 1 R1 in. See Figure 7 , Figure 7 It is a schematic diagram of a load sharing device provided by an embodiment of the present invention; the device includes:

[0085] The first search unit 701 is configured to search for the first logical outgoing interface corresponding to the first packet in the next hop table according to the destination address of the first packet. The first logical outgoing interface includes multiple physical outgoing interfaces. Each physical outbound interface corresponds to one token;

[0086] During specific implementation, according to the destination address of the first message, there may be multiple implementation manners for searching the first logical outgoing interface corresponding to the first message, which is not specifica...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses a method for load sharing, comprising the steps of: searching a corresponding first logical output interface according to the destination address of a first message; searching a matched first stream table entry in a stream table according to one or a plurality of fields in the quintuple of the first message; if the length of the stream table output interface of the first stream table entry is greater than or equal to the length of the first message, then sending the first message via the stream table output interface of the first stream table entry; or else, selecting a first physical output interface from a plurality of physical output interfaces, replacing the stream table output interface of the first stream table entry by the first physical output interface, and sending the first message via the first physical output interface. Additionally, the embodiment of the invention further provides a corresponding device for load sharing as well as another method and device for load sharing. Via the method and device for load sharing provided by the embodiment of the invention, the problem of load unbalance caused to traffic Hash can be solved, and the overall utilization rate of the physical output interfaces is increased.

Description

technical field [0001] Embodiments of the present invention relate to communication technologies, and in particular, to a load sharing method and device. Background technique [0002] Load sharing is a technical means to improve network bandwidth utilization, and has been widely used in communication networks. Load sharing can achieve the following technical effects: [0003] 1. Distributing traffic to multiple links is equivalent to increasing the total bandwidth of the link; [0004] 2. After a link fails, traffic can be forwarded from other links to improve link reliability. [0005] The inventor found that the prior art has the following technical problems: [0006] Hash the traffic and forward the traffic according to the physical outbound interface corresponding to the hash result, which may cause some physical outbound interfaces to be relatively busy and other physical outbound interfaces to be relatively idle, and the overall utilization of the physical outbound ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/56H04L12/803
Inventor 宋良瑜
Owner BEIJING HUAWEI DIGITAL TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products