Load sharing method and device
A technology of load sharing and equipment, which is applied in the communication field, can solve the problems that the E1 bandwidth capacity cannot be reached, the forwarding traffic is not fully distributed, etc., and achieve the effect of uniform distribution and enhanced performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0032] This embodiment provides a load sharing method. The method calculates the traffic load of each next hop in real time based on the traffic bucket, that is, the number of token buckets, and selects the next hop to forward the message. see figure 1 , the method specifically includes:
[0033] Step 101: After receiving the message, search for the next hop corresponding to the destination address of the message; for example, search in FIB (Forwarding Information Table, forwarding information table) or other routing and forwarding tables;
[0034] Step 102: judge whether the number of the next hop found is greater than 1, if yes, execute step 103; otherwise, execute step 106;
[0035] When forwarding packets, usually multiple corresponding next hops are found;
[0036] Step 103: Update the number of tokens in the traffic bucket corresponding to the found next hop, that is, perform the following calculations for each next hop:
[0037] 1) Calculate the time difference DT=Tn...
Embodiment 2
[0060] see image 3 , this embodiment provides a load sharing device, including:
[0061] A search module, configured to search for a corresponding next hop for any received message according to the destination address of the message;
[0062] An update module, configured to update the number of tokens in the traffic bucket corresponding to each next hop in the multiple next hops when the search module finds multiple next hops;
[0063] The selection module is used to compare the size of the number of tokens corresponding to each next hop after the update module updates, and select the next hop with the largest number of tokens;
[0064] The forwarding module is configured to send the packet to the next hop selected by the selection module.
[0065] see Figure 4 , the update module in this embodiment includes:
[0066] The calculation unit is used to calculate the time difference between the time stamp of the next hop forwarded message found by the search module last time...
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