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

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

Inactive Publication Date: 2008-08-20
HUAWEI TECH CO LTD
View PDF0 Cites 71 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the storage device in the forwarding device has defects in different degrees during use: storage devices with large capacity and low price such as SRAM (Static Random-Access Memory, static random access memory), DRAM (Dynamic Random-Access Memory, dynamic random access memory) etc., the access speed is often relatively low; while storage devices with high access speed such as TCAM (Triple Content Addressable Memory, Tri-state Content Addressable Memory) tend to have a smaller capacity and a higher price
Both of these two methods can solve the conflict problem and are suitable for occasions where the access speed and capacity requirements are not high. However, with the increasing requirements for the forwarding speed of the message, for example, the forwarding speed of 10G is generally required at present. In the access layer and aggregation layer of the network, there are a large number of business messages that require a large amount of storage space and high-speed forwarding. If the flow table is stored in the form of a tree or a linked list, the depth of the tree will become deeper and deeper, and the number of linked list levels will increase. Larger and larger, resulting in slower and slower access speeds, it is difficult to achieve fast packet forwarding

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
  • Packet forwarding method and equipment
  • Packet forwarding method and equipment
  • Packet forwarding method and equipment

Examples

Experimental program
Comparison scheme
Effect test

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...

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 present invention discloses a method and an instrument of forwarding the message, which belongs to the information area. The method includes: receiving the information, and collecting the key words in the message, then searching the first kind of stored space for the key words to see whether there is the sentence corresponding to the key words, if yes, then forwarding the messages according to the sentence; otherwise, search the second kind of stored space for the key words to see whether there is the sentence corresponding to the key words, if yes, then forwarding the messages according to the sentence in the second kind of stored space. The instrument comprises: receiving and getting the module, searching for and forwarding the module. Using the mechanism of combination of multi-class hash table and TCAM to realize the speediness forwarding and balance of content of the stored message and the forwarding velocity, reducing the message conflicting and make the sentence to reduce to satisfy the requirement of content and velocity of the operation business, which reduces the cost.

Description

technical field [0001] The invention relates to the communication field, in particular to a message forwarding method and equipment. Background technique [0002] With the continuous development of IP (Internet Protocol, a protocol for interconnecting networks) technology, the IP network has shifted from carrying a single Internet data service to carrying voice, data, video, dedicated customer line, 3G (3rd Generation, third-generation digital Communication), NGN (Next / New Generation Network), next / new generation network) and other carrier-level multi-service direction transformation. In the past, the IP network mainly carried ordinary Internet data services, such as sending and receiving emails, reading news on the web, etc., so the requirements for network bandwidth are not high, and the access speed of 56Kpbs is usually enough to meet the demand. However, with the transformation of the IP network, it needs to serve various new services that emerge in an endless stream, s...

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/56
CPCH04L45/00
Inventor 张浩龙志平田向远李维顾晓浩邵建树
Owner HUAWEI 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