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

Load balancing method and device based on source IP address

A technology of load balancing and IP address, which is applied in the direction of digital transmission system, electrical components, transmission system, etc., and can solve the problems of incapable of load balancing planning, complex implementation, and inability to do pre-planning

Active Publication Date: 2018-01-16
SUZHOU CENTEC COMM CO LTD
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, both of the above two schemes have certain defects: scheme 1 is based on fixed fields, and the Hash algorithm is generally CRC (cyclic redundancy check) or XOR algorithm, so it is impossible to plan the state of load balancing, and the final actual load balancing The effect may not be ideal
However, the implementation of this solution is relatively complicated, and it needs to record a large number of flow states, which consumes a lot of memory; at the same time, the selection of the path is completely based on the current load, and it is impossible to do pre-planning

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 based on source IP address
  • Load balancing method and device based on source IP address
  • Load balancing method and device based on source IP address

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The technical solutions of the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the present invention.

[0029] A method and device for load balancing based on source IP addresses disclosed by the present invention uses the longest mask matching algorithm of the routing table of the network equipment itself to perform load balancing based on the source IP address of the message.

[0030] Such as figure 1 As shown, a method for load balancing based on the source IP address disclosed in the present invention includes:

[0031] S1. Use the source ip address of the message to search for the longest mask match in the routing table, and obtain the load balancing factor corresponding to the source ip address from the routing table.

[0032] Specifically, combined with figure 2 and image 3 As shown in , when a packet enters a network device, the network device itself maintains a routing tab...

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 discloses a load balancing method and a load balancing device based on a source IP address. The method comprises the steps of searching for the longest mask matching in a routing table by using the source ip address of a message, and acquiring a load balancing factor corresponding to the source ip address from the routing table; and selecting a corresponding member outlet used for forwarding the message according to the load balancing factor. The scheme of the method provided by the invention is simple in implement, and achieves planning and dynamic adjustment of load balancing by using the longest mask matching algorithm of the routing table of existing network equipment, with no need for very complex hardware design and lots of memory.

Description

technical field [0001] The present invention relates to a load balancing technology, in particular to a method and device for load balancing based on a source IP address. Background technique [0002] Load balancing is a very important application in network planning, which can achieve the purpose of expanding bandwidth and link protection at the same time. At present, the commonly used load balancing methods mainly include the following two schemes. Scheme 1 uses a hash (hash) algorithm based on the fixed field of the received message, and then selects the final exit according to the hash value and the number of members of the load balancing group. Solution 2, based on the current load state of the members of the load balancing group, select the lightest link to fully utilize the bandwidth. [0003] However, both of the above two schemes have certain defects: scheme 1 is based on fixed fields, and the Hash algorithm is generally CRC (cyclic redundancy check) or XOR algorit...

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/803H04L12/741H04L45/74
Inventor 方沛昱单哲杨曙军
Owner SUZHOU CENTEC COMM CO LTD