Packet forwarding method and equipment
A message forwarding and message technology, which is applied in the field of communication, can solve the problems of large number of linked lists, slow access speed, and low access speed, and achieve the effect of meeting capacity and speed requirements, saving costs, and reducing conflicts
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] The scheme provided by the embodiment of the present invention adopts the forwarding flow table mechanism combining multi-level hash table and TCAM, and uses N+1 level storage space, and the front N level uses low-cost storage space (such as DRAM, etc.) to utilize the message The key fields of the hash algorithm are used to store the flow table, and the last level uses TCAM to store the flow table. Among them, when storing messages to create a flow table, if there is a conflict of message storage in the previous N levels, the TCAM at the last level is directly used to store messages to build a flow table to achieve fast convergence. Among them, the low-cost storage space used by the first N levels is called the first type of storage space, and the last level of TCAM is called the second type of storage space, or high-speed storage space. Methods include:
[0026] After receiving the message, obtain the key field of the message; then according to the key field, find whe...
Embodiment 2
[0048] Referring to Fig. 1, the embodiment of the present invention provides a method for message forwarding. In this embodiment, an N+1 level storage space is set as an example for illustration, wherein the first N levels are provided by ordinary storage devices such as SRAM\DRAM, etc. storage space, the N+1th level is the high-speed storage space provided by storage devices such as TCAM, using the method provided by the embodiment of the present invention, when the message is forwarded, the key value obtained by using the hash algorithm according to the key field of the message is in the The first N levels of storage space are searched level by level; if the first N levels of storage space fail to be searched, a quick search is performed directly in the TCAM. The specific content includes the following:
[0049] When the device forwards the received message, it needs to find the flow table corresponding to the message from the device's own storage space. After finding the fl...
Embodiment 3
[0085] Referring to Fig. 3, the embodiment of the present invention provides a method for message forwarding. In this embodiment, the N+1 level storage space is set as an example for illustration, wherein the first n levels are provided by ordinary storage devices such as SRAM\DRAM, etc. storage space, the N+1th level is the high-speed storage space provided by storage devices such as TCAM, using the method provided by the embodiment of the present invention, when the message is forwarded, the key value obtained by using the hash algorithm according to the key field of the message comes first N-level storage spaces are searched level by level; if the first N-level storage spaces fail to be searched, a quick search is performed directly in TCAM, and during the search process, relevant information about the free flow table corresponding to the address of the storage space is recorded , when the packet is the first packet, the packet can be directly stored in the free flow table o...
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