Anomaly detection method and system for network processing unit

A network processor and anomaly detection technology, applied in the field of communication, can solve problems such as failure to display, fast update of program location, high operating frequency of network processor, etc., and achieve the effect of improving detection ability

Active Publication Date: 2014-06-04
ZTE CORP
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing network processor-based forwarding equipment hardware networking does not connect it to peripherals such as light-emitting diodes, and the network processor runs at a high frequency, and the program location is updated very quickly, so it cannot be connected to an external light-emitting diode. to display

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
  • Anomaly detection method and system for network processing unit
  • Anomaly detection method and system for network processing unit
  • Anomaly detection method and system for network processing unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] Aiming at the hardware and software process characteristics of a typical forwarding device with a network processor as the core, the present invention proposes a network processor anomaly detection method and system, the core idea of ​​which is to add an anomaly detection operation to the execution flow of each thread of the network processor Code, network processors and coprocessors share using shared memory. When the network processor runs to the exception detection operation code of the current thread, the network processor sets the mark position corresponding to the current thread in the exception protection mark data area in the shared memory as the first mark; when the timer period arrives, the coprocessor detects All flag bits in the abnormal protection flag data area in the shared memory, if it is detected that all flag bits are not all the first flag, it is determined that the thread corresponding to the flag bits that are not the first flag is abnormal; if all ...

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 disclosure discloses a method and a system for detecting an abnormality of a network processor. The method comprises the following steps: an abnormality detection operation code is added into an execution flow of each thread in a network processor, and the network processor sets a flag bit corresponding to a current thread in an abnormality protection flag data area in a shared memory to a first flag when executing the abnormality detection operation code in the current thread; and when a period of a timer is expire, a coprocessor detects all the flag bits in the abnormality protection flag data area in the shared memory, determines that a thread corresponding to a flag bit which is not the first flag is abnormal when detecting that not all the flag bits are the first flag, and sets all the flag bits to a second flag when detecting that all the flag bits are the first flag. Through the disclosure, the abnormality of a thread can be detected timely and efficiently, so that the failure detection capability of the network device using the network processor as a core unit at run time is improved without influencing the forwarding performance and service processing flow of the network processor.

Description

technical field [0001] The present invention relates to the field of communication technologies, and more particularly, to a method and system for detecting abnormality of a network processor. Background technique [0002] A network processor (Net Processor, NP for short) is an application-specific instruction processor oriented to the network application field, and is a software programmable device oriented to data packet processing and having architectural features and / or specific circuits. Currently in the data communication industry, almost all mainstream switches and routers use network processors as the core components for traffic forwarding and service processing. The stable operation of the network processor is the basis for ensuring the high-performance forwarding of data communication product traffic, and it is also the basic condition for the security and stability of business processing. [0003] In recent years, with the increasing abundance of network services...

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 Patents(China)
IPC IPC(8): G06F11/267
CPCG06F11/3024G06F11/0772G06F11/0763G06F11/0715
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