Port oscillation processing method and device

A technology of port flapping and processing method, applied in the field of communication, can solve problems such as affecting the normal operation of other services and low processing efficiency

Active Publication Date: 2021-04-16
RUIJIE NETWORKS CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a port oscillation processing method and device to solve the problem in the prior art that the processing efficiency is very low and seriously affects the normal operation of other services

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Aiming at the problem that the processing efficiency in the prior art is very low and seriously affects the normal operation of other services, the embodiment of the present invention provides a port flapping processing method, which is applied to network devices. The process of the method is as follows: figure 1 As shown, the execution steps are as follows:

[0051] S11: Determine whether the first triggering times of the interruption event in the current period exceeds the upper threshold.

[0052] The number of triggers of interrupt events in the current cycle can be counted, and the number of triggers is defined as the first number of triggers, and then compared with a preset upper threshold to determine whether the first number of triggers exceeds the upper threshold.

[0053] Wherein, the duration of the current cycle and the upper limit threshold can be set according to actual needs, for example, the duration of the current cycle can be but not limited to 5 secon...

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 port oscillation processing method and device. The method comprises the steps of determining whether the first triggering frequency of an interrupt event in a current period exceeds an upper limit threshold value or not; if it is determined that the first triggering frequency exceeds the upper limit threshold value, acquiring suspicious ports, of which the port states are not connected, in the network equipment to obtain a suspicious port set; determining whether the number of suspicious ports in the suspicious port set is equal to 1 or not; if it is determined that the number is not equal to 1, narrowing the range of the suspicious port set according to a set rule, and executing the step of determining whether the number of suspicious ports in the suspicious port set is equal to 1 or not again; and if it is determined that the number is equal to 1, determining that the suspicious port in the suspicious port set is an abnormal port, and forcibly closing the abnormal port. According to the scheme, the processing efficiency can be greatly improved, and normal operation of other services is ensured.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a method and device for processing port oscillation. Background technique [0002] When a network device is working, port flapping may occur due to various reasons (for example, physical signal interference, link layer configuration error, port virtual plugging, etc.). The port oscillation is caused by frequent reporting to the Central Processing Unit (Central Processing Unit, CPU) to process the interrupt event after the interrupt register continuously captures the interrupt event triggered by the port state change. The performance of port oscillation caused by port virtual plugging is that the port status is always unconnected and interrupt events are frequently triggered. Since the interrupt register frequently reports to the CPU, the CPU needs to frequently process interrupt events, which will occupy a large number of central processing unit (Central Processing Unit) ,...

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): G06F11/07G06F13/24H04L12/24H04L12/26
Inventor 陈金楚冯映燕
Owner RUIJIE NETWORKS 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