Method for implementing aps switching by network processor and network processor

A network processor and switching module technology, applied in the field of communications, can solve the problem of not strictly guaranteeing time, and achieve the effects of avoiding long task scheduling time, fast switching, and improving efficiency

Active Publication Date: 2018-08-14
SUZHOU CENTEC COMM CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Since the aps protocol is running on the CPU200 side, it will take a certain amount of time for the CPU200 to schedule and switch to the aps thread at this time. This time needs to be determined according to the usage of the CPU200 at that time, so the time cannot be strictly guaranteed.

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
  • Method for implementing aps switching by network processor and network processor
  • Method for implementing aps switching by network processor and network processor
  • Method for implementing aps switching by network processor and network processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be described in detail below in conjunction with specific embodiments shown in the accompanying drawings. However, these embodiments do not limit the present invention, and any structural, method, or functional changes made by those skilled in the art according to these embodiments are included in the protection scope of the present invention.

[0028] Such as figure 2 As shown, the method that network processor of the present invention realizes aps switching comprises the following steps:

[0029] a: Detect whether there is any abnormality in the working path, if not, proceed to step a, if yes, proceed to step b;

[0030] b: Obtain the abnormal business exit according to the working path;

[0031] c: Find the corresponding hardware aps entry according to the service exit;

[0032] d: Modify the content of the hardware aps entry to trigger aps switching.

[0033] In this embodiment, in order to ensure mutual communication between devices,...

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 method for realizing aps switching of a network processor and the network processor. The method comprises the following steps: a, detecting if a working path is abnormal; if not, continuing to execute step a; if it is, executing step b; b, according to the working path, obtaining an abnormal business outlet; c, according to the business outlet, searching a corresponding hardware aps table entry; d, amending content of the hardware aps table entry so as to trigger aps switching. After detecting that the working path is abnormal through the hardware, it is only required to find out corresponding hardware aps table entry and carrying out the aps switching through the hardware; the method avoids long task dispatching time and big software processing cost when CPU (central processing unit) load is big; and thereby, efficiency is improved, and rapid switching of aps is realized.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method for realizing aps switching by a network processor and the network processor. Background technique [0002] With the development of network technology, the requirements of Ethernet equipment for link security are constantly increasing. When the oam (Operation Administration and Maintenance) protocol detects a link abnormality, the core equipment in the network needs to pass automatic protection switching (aps, Auto-protection Switch) protocol to quickly trigger switching. [0003] In current network processors, such as figure 1 As shown, in the network formed between devices A'B'C'D', there are two paths from A' to D', assuming that the working path W' is A' B' D', the protection path P' is A' C' D', so on the device A', the chip 100 detects the working path A' according to the oam protocol B' In the state of D’, if there is an exception between A’B’ a...

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): H04L12/24
Inventor 何志川赵茂聪孟忠伟蔡文俊
Owner SUZHOU CENTEC COMM CO LTD
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