Message processing method and device

A message processing and message technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve problems such as CPU overload, remote maintenance difficulties, and slow response of network equipment, and achieve the effect of maintaining stable work.

Inactive Publication Date: 2010-01-20
ZTE CORP
View PDF0 Cites 28 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, according to the current situation, although the switch chip and the network processor can choose which packets should be sent to the CPU and which packets should not be sent to the CPU, they cannot achieve such an ideal situation of

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
  • Message processing method and device
  • Message processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Such as figure 1 As shown, the message processing method of the present invention includes the following steps:

[0030] Step 101, after the network device receives the message, judge whether the received message needs to be sent to the CPU according to the feature field of the message, if so, perform step 102, otherwise, perform step 103.

[0031] Wherein, the characteristic field may be a protocol type, a port number, an Internet Protocol (IP) address or a destination Media Access Control (MAC) address and the like. Specifically, which packets need to be sent to the CPU may be determined according to specific values ​​of protocol type, port number, IP address, or MAC address. For example, a packet whose protocol type is 0X0806 represents an Address Resolution Protocol (ARP, Address Resolution Protocol) packet, and this protocol packet needs to be sent to the CPU. In addition, what kind of characteristic field of the message needs to be sent to the CPU can be preset ...

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 message processing method which comprises the following steps: classifying messages that need to be sent to a central processing unit according to the characteristics of the messages; marking the classified messages with different priorities according to the importance degrees of the messages, then sending the messages after being marked with the priorities into an array of which the priority the same as that of the messages, and carrying out multilevel rate-limiting processing for the array. The invention also discloses a message processing device. By adopting of the invention, the central processing unit can run normally, and then the stable work of network equipment is further maintained.

Description

technical field [0001] The invention relates to message processing technology, in particular to a message processing method and device. Background technique [0002] The wide application of switching chips and network processors has continuously increased the switching capacity of network devices such as Ethernet switches and routers. The more network devices hand over the work of message forwarding to the switch chip or network processor, which can reduce the burden on the CPU. However, according to the current situation, although the switch chip and the network processor can choose which packets should be sent to the CPU and which packets should not be sent to the CPU, they cannot achieve such an ideal situation of sending neither too much nor too little. Moreover, when the network traffic is too large or under network attack, the CPU is often overloaded, resulting in problems such as slow response of network equipment and difficulty in remote maintenance. Contents of t...

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
IPC IPC(8): H04L12/56H04L47/6275
Inventor 芦海石江涛杨建军
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products