Load balancing method and device, network equipment and computer readable storage medium

A load balancing and averaging technology, applied in the field of network communication, can solve problems such as packet loss affecting network quality

Pending Publication Date: 2021-11-12
MAIPU COMM TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the purpose of this application is to provide a load balancing method, device, network equipment, and computer-readable storage medium, so as to improve the existing problem of packet loss affecting network quality when sending packets through aggregation groups

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
  • Load balancing method and device, network equipment and computer readable storage medium
  • Load balancing method and device, network equipment and computer readable storage medium
  • Load balancing method and device, network equipment and computer readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment approach

[0041] In an optional implementation manner, the preset allocation rule includes a preset forwarding table, and the process of updating the preset allocation rule may be: Allocate the hash values ​​corresponding to the M entries with the largest rates in the preset rate statistics table to the aggregation group. For the M member ports in the M member ports, select the hash value corresponding to N / M-1 entries from the preset rate statistics table and assign them to each of the M member ports to ensure that each member port corresponds to the entry. The error between the sum of the rates of the 's forwarding table.

[0042] The preset rate statistics table includes N entries, each entry corresponds to a hash value in the preset forwarding table, different entries have different hash values, and N is an integer multiple of the number M of member ports in the aggregation group .

[0043] For ease of understanding, an example is given below. Suppose there are 4 member ports in t...

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 invention relates to a load balancing method and device, network equipment and a computer readable storage medium, and belongs to the technical field of network communication. The load balancing method comprises the following steps: acquiring a sending port distributed for a to-be-sent message according to a preset distribution rule, wherein the sending port is a member port in an aggregation group; determining a busy state of the sending port; and when the sending port is in the preset busy state, re-determining the target port for sending the message to be sent from the aggregation group. After the sending port is allocated to the to-be-sent message, if the sending port is in the preset busy state, the target port for sending the to-be-sent message needs to be determined again from the aggregation group, so that the probability that the load of the sending flow of each member port in the aggregation group is not uniform is reduced; and therefore, the problem that the network quality is affected by packet loss due to the fact that the load of the transmission flow of each member port in the aggregation group is not uniform is avoided.

Description

technical field [0001] The present application belongs to the technical field of network communication, and in particular relates to a load balancing method, apparatus, network device and computer-readable storage medium. Background technique [0002] A common method of increasing bandwidth is by bundling multiple physical ports together to form a logical port. A combination formed by bundling multiple physical ports together is called an aggregation group, and the physical ports that are bundled together are called member ports of the aggregation group. When sending packets through an aggregation group, you need to consider how to select member ports so that the load of each member port is balanced. [0003] When sending a packet through an aggregation group, when the bandwidth of each member port is the same, the key field in the packet header is usually used to calculate the hash value, and the sending port in the forwarding table is determined by the hash value. Due to...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/803H04L12/743
CPCH04L47/125H04L45/7453
Inventor 何三波
Owner MAIPU COMM TECH CO LTD
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