A load balancing method and device based on multi-channel protocol
A load balancing, multi-channel technology, applied in transmission systems, electrical components, etc., can solve the problems of inability to effectively solve the load balancing of multiple bandwidth channels, inability to adjust the load ratio between channels, and unsatisfactory load balancing effect, and achieve a good load. The effect of the equalization effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041]In order to solve the technical problem that the traditional method can only realize the load balancing in the same packet length data packet, the same bandwidth channel, the full channel available scenario and the available channel unchanged scenario, the embodiment of the present invention provides a load balancing method based on a multi-channel protocol. ,like figure 1 It mainly includes the following steps:
[0042] Step 101: Configure the initial load weight of each channel according to the channel bandwidth ratio, and configure the reference load weight deduction factor corresponding to the reference packet length.
[0043] Assuming that the total number of channels is represented by n, and the load weight of any i-th channel is represented by W0i, i∈[1, N], the load weights W01, W02, ..., W0n of n channels need to be configured according to the channel bandwidth ratio. The initial value of , that is, the initial load weight. In an optional embodiment, the load ...
Embodiment 2
[0056] On the basis of the above-mentioned Embodiment 1, the embodiment of the present invention further optimizes the load balancing method from two aspects: one is to count the amount of data sent each time after selecting a channel to send data packets, and whenever the amount of sent data exceeds a certain amount When the preset threshold value is reached, the authorization is issued again, that is, the load weight of each channel is reconfigured once, so as to maintain the basic stability of the total authorization. The second is to perform overflow protection on the load weight of each channel, that is, after each update of the load weight of the channel, if the load weight of a certain channel is too high or too low, the weight overflow protection will be triggered; After the update is higher than the weight overflow upper threshold, the channel weight overflow protection is triggered, and the load weight of the channel is set equal to the weight overflow upper threshold...
Embodiment 3
[0070] In this embodiment of the present invention, the total number of channels N=4, and the channel initialization coefficient M is initially configured instead of the initial load weight of each channel is taken as an example. form, combined image 3 The load balancing methods in Embodiment 1 and Embodiment 2 are further described in detail:
[0071] 1) Initialization:
[0072] Configure the load weight factors W1, W2, W3, and W4 of each channel according to the channel bandwidth ratio, configure the channel initialization coefficient M, and configure the reference load weight deduction factor Wp0 corresponding to the reference packet length. The initial load weights of each channel are: W01=W1*M, W02=W2*M, W03=W3*M, W04=W4*M, and the total configured load weight value Wsum=W1+W2+W3+W4.
[0073] 2) Channel 0 sends packets:
[0074] When a packet sending request is received, the available channel information is obtained for channel filtering. Assuming that all channels ar...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com