Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for realizing load sharing

A kind of load sharing and type technology, applied in the field of data communication, can solve the problem of uneven load sharing

Active Publication Date: 2020-06-16
ZTE CORP
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the above technical problems, the present invention provides a method and system for realizing load sharing, which can improve the situation of uneven load sharing, make the load sharing of each link even and reasonable, and the bandwidth of each link after load sharing meets the bandwidth of traffic distribution. need

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
  • A method and device for realizing load sharing
  • A method and device for realizing load sharing
  • A method and device for realizing load sharing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0152] image 3 is a flowchart of the method of the first embodiment of the present invention, such as figure 2 as shown,

[0153] Step 300, adopting a preset ratio of 1:1, and performing traffic sampling in the second load sharing method;

[0154] In this step, the default ratio is set to 1:1 to indicate that the quality requirements of the second load sharing method are high. In addition, in this embodiment, the implementation is identified by adding the flow keyword virtual private network function number (VPN ID) to DIP. For example, traffic data that needs to be processed by the second load sharing method.

[0155] Step 301, write the sampled traffic data into the cache, analyze the types of sampled traffic and obtain the first ratio of the sampled traffic to various types of traffic;

[0156] Step 302, calculating the second ratio of the bandwidth of each link in the link to the total bandwidth of all links for traffic distribution;

[0157] Step 303, distribute var...

Embodiment 2

[0166] The number of links for traffic load sharing is 3, and the link bandwidth ratio of the 3 links is 1:2:1;

[0167] The traffic of the message is IP traffic, based on SIP changes from 10.10.10.0 to 10.10.10.254, a total of 255 kinds of traffic;

[0168] The first load sharing method is the method of CRC32mod logical linknum link number of the source IP, here, here physical linknum=3 logical linknum=1+2+1=4, after the above modulus, it is determined to divide into three links.

[0169] Assume that the first preset duration is 10 minutes, and the load sharing threshold (deviation between the maximum link load and the minimum link load) is 0.05;

[0170] Within the first preset time period, the traffic numbers of the three links under the first load sharing method are respectively 6200000, 12800000 and 6400000;

[0171] After dividing the load-sharing traffic of each link by the link bandwidth, the traffic-bandwidth ratios are (62 / 64), 1, and 1, respectively.

[0172] The ...

Embodiment 3

[0175] The number of links for traffic load sharing is 3, and the link bandwidth ratio of the 3 links is 1:2:1;

[0176] The traffic of the message is IP traffic, based on the change of SIP, there are 10 kinds of traffic from 10.10.10.0 to 10.10.10.9;

[0177] There are 10 types of traffic from 20.20.20.0 to 20.20.20.9 based on DIP changes;

[0178] Based on the change of the TCP source interface (sport) from 0 to 9, the destination interface (dport) 0 to 9 changes a total of 10*10*10*10=10000 kinds of traffic;

[0179] Each flow is assumed to have the same traffic size.

[0180] The first load sharing method is CRC32 (keywords include sip, dip, sport, dport) mod linknum, where physical linknum=3, logical linknum=1+2+1=4, and the traffic is distributed to three links

[0181] Assume that the first preset duration is 10 minutes, and the load sharing threshold is 0.01;

[0182] Within the first preset time period, the traffic numbers of the three links under the first load s...

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

A load sharing method and device. The method comprises: counting, in a first preset time duration and in a first load sharing method, each item of link traffic to obtain a load sharing parameter of a system; and when the load sharing parameter is greater than or equal to a preset load sharing threshold, determining that the load sharing is uneven, and switching to a second load sharing method to allocate traffic to a traffic distribution link to distribute the traffic.

Description

technical field [0001] The invention relates to the field of data communication, in particular to a method and device for realizing load sharing. Background technique [0002] Used in routers or other products, when the traffic entering the router is greater than the bandwidth of the outgoing interface of a single link of the router, the incoming traffic is distributed to the outgoing interfaces of multiple links through the load sharing method to satisfy the user traffic. distribution needs. [0003] According to different traffic distribution methods, the load sharing method is divided into packet-based load sharing and flow-based load sharing. Among them, the load sharing based on the packet mode refers to randomly distributing the traffic entering the router to the outbound interfaces of multiple configured load sharing links; the load sharing based on the flow mode includes Interface, different from packet-based load sharing, flow-based load sharing also needs to ensu...

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 Patents(China)
IPC IPC(8): H04L12/803
Inventor 牛俊杰
Owner ZTE CORP