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

Packet forwarding method and device

A message forwarding and message technology, applied in the field of communication, can solve the problems of limiting the flexibility of NP and ASIC chips, increasing the design difficulty of ASIC chips, and increasing the design difficulty of the overall data message forwarding processing flow, so as to simplify the design work, Effects that are easy to extend

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

AI Technical Summary

Problems solved by technology

On the one hand, it increases the difficulty of ASIC chip design, on the other hand, it also limits the flexibility of cooperation between NP and ASIC chips in the future, and increases the difficulty of designing the overall forwarding process of data packets completed by cooperation between NP and ASIC.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] Embodiment 1: Taking NP+ASIC to implement the message forwarding function, and the ASIC chip to complete a service function during the forwarding process as an example, the message forwarding method provided by the embodiment of the present invention is described.

[0026] In network devices such as routers or switches, the direction from the network port to the switching network (uplink direction) completes most of the functions in the entire forwarding process of data packets. Therefore, in order to make the NP and ASIC work together better , as shown in Figure 2, the NP is generally placed on the interface between the link interface module of the router or the switch and the ASIC chip. The NP and the ASIC chip are connected by a standard interface, such as: SPI4, XAUI, etc.

[0027] As shown in Figure 3, the message forwarding method provided by the embodiment of the present invention includes:

[0028] Step 301, the ASIC chip receives the data message, and obtains ...

Embodiment 2

[0037] Embodiment 2: Taking NP+ASIC to implement the message forwarding function, and the ASIC chip to complete multiple service functions during the forwarding process as an example, the message forwarding method provided by the embodiment of the present invention is described. The packet forwarding method provided in this embodiment is basically the same as the process in Embodiment 1, the difference being:

[0038] The data message carries more than one processing identification, and the processing identification forms a bitmap; the number of processing identifications carried by the data message (that is: the number of bits in the bitmap) can be compared with the number of processing modules in the ASIC chip Identical, also can be different, in the present embodiment, the number of described processing identification is identical with the number of processing modules in the ASIC chip; The processing identification in the described data message has a corresponding relationship...

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 a device for forwarding messages, which belong to the communication field. The invention is designed for solving the problem that the design of a message forwarding chip is complicated due to an internal processing module of the message forwarding chip is not capable of determining whether to process the received data message or not. The technical proposal of the present invention adopts the message forwarding method which comprises the following steps of receiving a data message, and obtaining a processing identifier of the data message; comparing the processing identifier with a predetermined identifier of the processing module to obtain a comparing result; processing the received data message according to the comparing result. The message forwarding method and the device provided by the embodiment of the present invention are not only capable of being applied to NP+ASIC forwarding chips, but capable of being applied to FPGA chips or multi-core processors.

Description

technical field [0001] The invention relates to the communication field, in particular to a message forwarding method and device. Background technique [0002] As shown in Figure 1, in a router or switch in the data communication field, a typical line processing card (abbreviation: line card) mainly includes: a link interface module (MAC / Framer), a packet forwarding module (PacketProcessor, abbreviation: PP), a traffic management module (Traffic Manager, TM for short) and a switching network interface module (Fabric Interface Chip, FIC for short), wherein the message forwarding module is used for message forwarding. [0003] The existing technology adopts three methods to realize the message forwarding function: [0004] Method 1: Use a network processor (abbreviation: NP) to realize the message forwarding function. Since NP has a programmable feature, it can adapt to the development trend of faster and faster update of network service functions. However, it is difficult ...

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/56H04L45/741
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