Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Multithreading parallel processing method of border gateway protocol

A border gateway protocol and parallel processing technology, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve problems such as the failure to reflect the real situation of routing threads, the inability of routing threads to truly work in parallel, and the reduction of work efficiency. Achieve the effect of improving BGP multi-threaded parallel execution efficiency, reducing communication overhead, and reducing competition

Inactive Publication Date: 2014-04-16
NAT UNIV OF DEFENSE TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0012] (1) Because this method distributes the analysis and encapsulation of a single route update message, and the route selection calculation process is executed in parallel on two threads, resulting in the need for frequent communication between threads, reducing work efficiency;
[0013] (2) This method divides the global routing information into fixed category items in advance, which cannot reflect the real situation of the access category items of the routing thread, and it is very easy for multiple routing threads to access the same category item at the same time, resulting in a large number of memory access competitions, making The routing threads cannot work in parallel, which limits the continuous improvement of the processing speed of BGP routing update packets

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
  • Multithreading parallel processing method of border gateway protocol
  • Multithreading parallel processing method of border gateway protocol
  • Multithreading parallel processing method of border gateway protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] specific implementation plan

[0049] figure 1 It is a flow chart of a method for implementing parallel processing of routing update messages by a BGP multi-thread structure in the background technology, and mainly includes the following steps:

[0050] 1. Pre-calculation of category items.

[0051] 2. Construct BGP multi-thread structure.

[0052] 3. Analyze the message.

[0053] 4. Find category items.

[0054] 5. Routing calculation.

[0055] 6. Routing update broadcast.

[0056] 7. When a new routing update message arrives, go to step 3.

[0057] figure 2 It is an overall flow chart of the present invention, mainly comprising the following steps:

[0058] 1. Build a BGP multi-thread structure.

[0059] 2. Set the routing table reconstruction timer.

[0060] 2.1 Start the routing table reconstruction timer.

[0061] 2.2 Reconstruct the routing table.

[0062] 2.2.1 Post-order traversal of the routing table, counting the total number of routing table visi...

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 multithreading parallel processing method of a border gateway protocol. The multithreading parallel processing method is used for accelerating a message updating speed of a BGP (Border Gate Protocol) processing route. The technical scheme in the invention comprises the following steps of: establishing a BGP multithreading structure which consists of a main control thread and L protocol execution threads, wherein the main control thread consists of a neighbor distribution module and a routing list reconfiguration module, and each protocol execution thread comprises a neighbor management module, a route selection module and a route broadcasting module; dynamically reconfiguring global routing information by the routing list reconfiguration module; calculating a protocol execution thread corresponding to each neighbor, dividing BGP neighbors into L neighbor threads and transmitting addresses of ports, which are communicated with the neighbors, to the corresponding protocol execution threads by the neighbor distribution module; and carrying out a neighbor conversation interaction by interworking of the neighbor management module, the route selection module and the route broadcasting module. With the multithreading parallel processing method, the communication cost among the threads can be decreased, the competition caused by that a routing list is simultaneously accessed by the threads can be reduced, and the operation speed of the BGP is accelerated.

Description

technical field [0001] The invention belongs to the field of routing protocol system structure, and in particular relates to a thread-level parallel processing method of a high-performance router border gateway protocol BGP (Border Gateway Protocol). Background technique [0002] Since the 1990s, the Internet has experienced rapid development and has evolved from a simple experimental network to a huge commercial network. As an important facility for building the entire Internet core network, routers have undergone a development process from centralized routers, distributed routers, and cluster routers. However, the development of router software technology is relatively lagging behind, and the limited performance of protocols makes it difficult Meet the needs of the next generation Internet development. In particular, with the rapid growth of the scale of the Internet and the emergence of a large number of network applications, the number of routing update packets that nee...

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): H04L29/06H04L12/70H04L45/74
Inventor 赖明澈高蕾王志英肖侬陆洪毅马胜任珊珊
Owner NAT UNIV OF DEFENSE TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products