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

Network processor and data processing method thereof

A network processor and data processing technology, applied in the field of data transmission, can solve the problem of wasting effective instructions, etc., achieve the effect of saving instructions and improving data forwarding efficiency

Active Publication Date: 2008-12-31
ZTE CORP
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a network processor and its data processing method, which solves the problem of wasting effective instructions in the Parse stage due to the construction of useless lookup keys, thereby improving the data forwarding efficiency of the entire network processor

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
  • Network processor and data processing method thereof
  • Network processor and data processing method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be described in detail below with reference to the accompanying drawings and in combination with specific embodiments.

[0032] see figure 1 with figure 2 , still taking the NP-2rev B network processor as an example, figure 2 It shows the main modules when the network processor in the specific embodiment of the present invention performs data processing, it should be understood that, figure 2 The possibility of including other modules by the network processor is not limited. Such as figure 2 As shown, the network processor includes a driver module, a statistics module and a microcode module. In the present invention, the driver module is mainly used to write port and / or VLAN configuration information into the statistics module. The statistics module is mainly used to realize the counting function. It can provide up to 16 trillion 36bits counters. There are three types of counters: 36bits, 54bits and 72bits. In addition, the address of...

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 network processor and a data processing method thereof; the network processor comprises a driver module, a statistics module and a micro-code module; the data processing comprises an analysis phase for carrying out analysis to a data packet; the data processing method includes the following steps: A. the driver module writes down the configuration information of at least one between the port of the network processor and the VLAN into the statistics module; B. in the analysis phase, the micro-code module accesses the statistics module and then obtains the configuration information, and later the searching of key values is carried out according to the configuration information structure. By writing down the configuration information of the port and / or the VLAN into the statistics module, the micro-code module uses the configuration information of the statistics module structure to construct the searching key value, thereby avoiding constructing redundant searching key values for the business and function without configuration in the Parse phase, saving the instructions and enhancing the data transmitting efficiency of the network processor.

Description

technical field [0001] The invention relates to the field of data transmission, in particular to a network processor and a data processing method thereof. Background technique [0002] Network processors can be used to implement data forwarding and other processing. Take the NP-2rev B network processor as an example. NP-2rev B is a network processor chip that can provide 10G bidirectional data processing capabilities and has flexible programming Ability, developers can realize the processing of various services in data transmission by writing microcode. It is generally divided into four stages when processing data packets: Parse (analysis), Search (find), Resolve (solve) and Modify (modify). Parse mainly analyzes the data packets, then constructs the search key values ​​required by various business processes according to the analysis results, and finally passes these search key values ​​to Search for search. The Parse stage does not provide table search functions. Search m...

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): H04L29/02H04L12/46
Inventor 陈世猛
Owner ZTE CORP
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