Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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 of unbalanced load caused by traffic hashing, and improve the overall utilization rate of physical outgoing interfaces

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

Embodiment 1

[0038] The embodiment of the present invention provides a load sharing method, which can be used in a network device with multiple TRUNK ports, 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 message, look up the first logical outbound interface corresponding to the first message in the next hop table, the first logical outbound interface includes multiple physical outbound interfaces, and each physical outbound interface corresponds to a token;

[0040]During specific implementation, according to the destination address of the first message, searching the first logical outbound interface corresponding to the first message in the next hop table may have multiple implementation modes, which are not specifically limited in the present invention. A network device may be a router. The first packet may be a packet gener...

Embodiment 2

[0069] The embodiment of the present invention provides a load sharing method, which can be used in a network device with multiple TRUNK ports, 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 message, look up the first logical outbound interface corresponding to the first message in the next hop table. The first logical outbound interface includes multiple physical outbound interfaces, and each physical outbound interface corresponds to a token;

[0071]During specific implementation, according to the destination address of the first message, searching the first logical outbound interface corresponding to the first message in the next hop table may have multiple implementation modes, which are not specifically limited in the present invention. A network device can be a switch. The first packet may be a packet gener...

Embodiment 3

[0084] The embodiment of the present invention provides a load sharing device, which can be used in a network device with multiple member TRUNK ports. 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 the first logical outbound interface corresponding to the first message in the next hop table according to the destination address of the first message, and the first logical outbound interface includes a plurality of physical outbound interfaces, each Each physical outgoing interface corresponds to a token;

[0086] During specific implementation, according to the destination address of the first message, searching for the first logical outbound interface corresponding to the first message may be implemented in various ways, which are not specifically limited in the presen...

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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products