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

Method and device for updating routing lookup tree

A search tree and routing technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of finding wrong packets, lengthening, blocking search time, etc., and achieve the effect of reducing error packets or packet loss

Active Publication Date: 2014-05-07
SANECHIPS TECH CO LTD
View PDF5 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Due to the need for high-speed lookup, the method of completely using software update for the routing table is no longer applicable. In recent years, there are two methods for updating the routing table in NP: one is to lock the routing lookup before updating the routing table. Stop the lookup until the update of the router is completed, and then restart the route lookup; however, due to the long locking time of this method, the blocking lookup time will also become longer
The other is to update the table entry while routing lookup; however, this method will cause conflicts between lookup and update access table entry memory, resulting in wrong packet lookup and packet loss
[0004] It can be seen that the method for updating the NP routing table in the prior art either takes a long time to block the search, or may cause error packets or packet loss

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
  • Method and device for updating routing lookup tree
  • Method and device for updating routing lookup tree
  • Method and device for updating routing lookup tree

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The basic idea of ​​the present invention is: when it is determined that the routing search tree needs to be updated, the update level flag table and node update information are determined according to the updated table items; If it is determined that the current layer needs to be updated, the upper layer of the current layer in the routing search tree is locked, and the node update information is synchronized to the current layer of the routing search tree, and so on, until the current layer is determined to be updated according to the update level flag table At the last level of the routing search tree, the update of the routing lookup tree ends.

[0037] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0038] The method for updating the routing search tree proposed by the present invention, such as figure 1 shown, including the following steps:

[0039] Step 101: When it is det...

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 method for updating a routing lookup tree. The method comprises the following steps: determining an update level mark table and node update information according to an updated entry when determining that a routing lookup tree needs to be updated; sequentially selecting levels from the routing lookup tree as the current layer; and if that the current layer needs to be updated is determined according to the update level mark table, locking an upper layer of the current layer in the lookup tree and synchronizing the node update information to the current layer of the lookup tree, and so on, and completing the updating of the routing lookup tree until that the current layer is the last layer needing to be updated is determined according to the update level mark table. The invention further discloses a device for updating a routing lookup tree. By the adoption of the method and the device of the invention, the time of lookup blocking during routing lookup tree updating can be reduced, and the possibility of packet error or packet loss caused by simultaneous conduction of updating and lookup can be reduced.

Description

technical field [0001] The invention relates to routing management technology of a network processor (NP, Network Processor), in particular to a method and device for updating a routing search tree. Background technique [0002] NP is a programmable chip for network data packet processing. It not only has the low price and high flexibility of a general-purpose processor, but also has the characteristics of high performance and scalability of a dedicated chip (ASIC, Application Specific Integrated Circuit). It is considered to be the core technology for the development of the next generation network. [0003] Due to the need for high-speed lookup, the method of completely using software update for the routing table is no longer applicable. In recent years, there are two methods for updating the routing table in NP: one is to lock the routing lookup before updating the routing table. Stop searching until the update router is completed, and then restart the routing search; how...

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 Applications(China)
IPC IPC(8): H04L12/741H04L12/753H04L45/74H04L45/02
CPCH04L45/745H04L45/02H04L45/566
Inventor 闫振林胡志海
Owner SANECHIPS TECH CO LTD
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