Routing memory optimization method and routing memory optimization device in dual plane mode

An optimization method and dual-plane technology, applied in the field of communication, can solve problems such as large memory consumption, and achieve the effects of reducing replication, high performance of routing and sending and receiving processing, and reducing memory consumption.

Active Publication Date: 2022-04-26
FENGHUO COMM SCI & TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Aiming at the above defects or improvement needs of the prior art, the present invention provides a routing memory optimization method and a routing memory optimization device in dual-plane mode, the purpose of which is to reduce the duplication of routing table entries and reduce the Memory consumption, thus solving the technical problem of excessive memory consumption caused by routing table expansion

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
  • Routing memory optimization method and routing memory optimization device in dual plane mode
  • Routing memory optimization method and routing memory optimization device in dual plane mode
  • Routing memory optimization method and routing memory optimization device in dual plane mode

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0040] refer to Figure 4 , in order to solve the problem of excessive memory consumption caused by routing table expansion, this embodiment provides a routing memory optimization method in dual-plane mode, the routing memory optimization method includes the following steps:

[0041] Step 101: Construct an RD routing table with a routing discriminator as a key, wherein the RD routing table includes multiple routing sub-tables, and each routing sub-table is used to store different types of routing entries.

[0042] In this embodiment, the structure is as Figure 5 As shown in the RD routing table, the RD routing table uses the RD value as the Key for Hash storage, and there are multiple routing sub-tables in each RD routing table, where the routing sub-table includes IPv4 unicast routing sub-table, IPv6 unicast routing sub-table table, IPv4 multicast routing sub-table, IPv6 multicast routing sub-table, EVPN L2 routing sub-table (actually stores Layer 2 routing information of T...

Embodiment 2

[0076] The following is combined with a specific networking scenario, such as Figure 10 As shown, CE1 is dual-homed to PE1 and PE2 nodes, the VRF name on the private network side is VRF1, the RD is 1:1, and the import RT and export RT are both 1:1. CE4 is single-homed to PE2 and belongs to VRF1 like CE1. CE2 is single-homed to PE3, the VRF name on the private network side is VRF2, the RD is 2:2, and the import RT and export RT are both 1:1. CE3 is single-homed to PE3 node, the VRF name on the private network side is VRF1, the RD is 1:1, and the import RT and export RT are both 1:1. Two pairs of PE1, PE2, and PE3 on the public network side establish BGP neighbor relationships. PE1 and CE1, PE2 and CE1, PE2 and CE4, PE3 and CE2, and PE3 and CE3 also establish BGP neighbors respectively. Taking the L3VPN service as an example to illustrate the implementation process of the foregoing routing memory optimization method.

[0077] (1) The IPv4 / IPv6 route generated by the local VRF...

Embodiment 3

[0084] combine Figure 10 , based on the integration of the size and size of the previous routing table, the routing processing performance is comprehensively improved through the adaptive scheduling algorithm. The adaptive algorithm is mainly reflected in PE1, PE2, and PE3, and CE1, CE2, CE3, and CE4 are used as routing Source and destination, without too much description. Such as Figure 11 The service flow chart for routing processing, for PE1 / PE2 / PE3 in the networking diagram, involves the packet ingress phase, routing local processing phase, and packet egress phase.

[0085] Among them, for the message incoming stage, this stage does not cache any messages, and immediately parses out the attributes and routing entries in the message after receiving the Update message, and hangs the route in the scheduling queue waiting for processing.

[0086] The local route processing stage includes route selection, local delivery and neighbor notification of routes. Among them, the 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 discloses a routing memory optimization method and a routing memory optimization device in a dual-plane mode. The method includes constructing an RD routing table with a routing discriminator as a key, wherein the RD routing table includes a plurality of routing sub-tables, and each routing sub-table is used to store different types of routing entries; obtaining the current route, if the If the current route is a route generated by a local VRF instance, the current route is stored in a corresponding routing sub-table after setting a local generated flag bit for the current route. After the multi-dimensional sharing mechanism of the BGP routing table item in the present invention is realized, the duplication of the routing table item is reduced, not only the memory consumption of the routing table can be reduced, but also the routing processing performance of the node can be improved, and the routing sending and receiving processing performance of the BGP protocol is better. high.

Description

technical field [0001] The invention belongs to the technical field of communications, and more specifically relates to a routing memory optimization method and a routing memory optimization device in a dual-plane mode. Background technique [0002] With the mature application of the latest SR (Segment Routing, segment routing) technology and the large-scale application of IPv6 (Internet Protocol Version 6) network, the forwarding plane has been replaced by the traditional MPLS (Multi-Protocol Label Switching, multi-protocol label switching) technology Gradually evolve towards SR technology and its SRV6 technology. BGP (Border Gateway Protocol, Border Gateway Protocol) is the only dynamic routing protocol used between autonomous systems in modern networks. It is used to build ultra-large-scale complex network connections based on the basic principles of simple, flexible, and efficient design ideas. Today's BGP protocol not only has IPv4 / IPv6 address families that carry publ...

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): H04L45/02H04L45/00H04L45/741
CPCH04L45/02H04L45/04H04L45/34H04L45/741
Inventor 何运波杨晨王翔马跃东张羽蔡玮
Owner FENGHUO COMM SCI & 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