Anomaly detection method and system for network processing unit

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

Active Publication Date: 2011-02-16
ZTE CORP
View PDF5 Cites 13 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 typical forwarding devices with network processors as the core, the present invention proposes a network processor anomaly detection method and system, the core idea of ​​which is to add anomaly detection operations in advance in the execution flow of each thread of the network processor Code, network processors and coprocessors share the use of 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 exception protection flag data area in the shared memory, if it is detected that all the flag bits are not all the first flags, it is determined that the thread corresponding to the flag bits that are not the first flag is...

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 an anomaly detection method and a system for a network processing unit. The method comprises the following steps: anomaly detection operating codes are added into execution processes of each thread of the network processing unit, and the network processing unit makes first marks on mark positions corresponding to the current thread in an anomaly protection mark data area in a shared memory when the network processing unit runs the anomaly detection operating codes of the current thread; when the cycle of a timer is up, a coprocessing unit detects all the mark positions in the anomaly protection mark data area, and the thread not corresponding to the mark positions of the first marks is abnormal if the fact that not all the mark positions are the first marks is detected; and the coprocessing unit can make second marks on all the mark positions if the fact that all the mark positions are the first marks is detected. Based on the characteristics of the process of the network processing unit software, the invention can effectively detect the anomaly of the thread in time, thereby greatly improving the failure detection capability of network equipment using the network processing unit as the core unit in the operating period.

Description

technical field [0001] The present invention relates to the technical field of communications, and more specifically, 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 field of network applications, and is a software programmable device oriented to data packet processing, with 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 safe and stable business processing. [0003] In recent years, with the increasing variety of network services, network applicati...

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): 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