Method and device for detecting packet port congestion

A technology for detecting packets and ports, applied in the field of network communication, can solve the problems of packet congestion, long queue length, unstable network environment, etc., and achieve the effect of meeting security requirements

Active Publication Date: 2016-05-18
SUZHOU CENTEC COMM CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the switch chip, according to the needs of network traffic management, the forwarded packets are often assigned to multiple queues. The switch chip schedules the packets stored in the internal If the rate is slower than the dispatched rate, the length of the corresponding queue will become longer accordingly, resulting in congestion of stored messages, and correspondingly, subsequent messages input to this queue will be discarded
[0003] Generally speaking, the state of port packet congestion is relatively random, and the upper-layer software cannot dynamically monitor the congestion state of each queue in the internal memory of the chip, so it cannot provide real-time and effective impact on network traffic management, which will cause congestion within a certain time slice , which affects performance such as packet forwarding delay, and ultimately leads to an unstable network environment

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 and device for detecting packet port congestion
  • Method and device for detecting packet port congestion
  • Method and device for detecting packet port congestion

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] The present invention will be described in detail below in conjunction with various embodiments shown in the 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.

[0045] like figure 1 As shown, in the first embodiment of the present invention, the method for detecting packet port congestion includes:

[0046] S1, count the number of unicast packets or the number of multicast packets cached by the port queue; specifically, when the packets enter the port queue, a count increase request is initiated at approximately the same time, and the number of unicast packets or the number of multicast packets is stored The counter value increases; when the packet is output to the port queue, a count reduction request is initiated at approximately the same time, and the counter value stor...

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 provides a message port congestion detection method. The method includes: performing statistics on single-broadcast message number or group-broadcast message number cached in a port queue; obtaining the cached single-broadcast message number or group-broadcast message number once at each scanning period; comparing the obtained single-broadcast message number or group-broadcast message number with a group of partition threshold values to determine the corresponding partitions of the obtained single-broadcast message number or group-broadcast message number, and correspondingly increasing count of the partitions; repeating the steps to obtain count of partitions corresponding to each of a plurality of scanning periods; and performing statistics on amount of count of partitions which do not fall in predetermined normal partitions, and judging a port is in a congestion state if the amount is larger than a congestion time threshold value. Compared with the prior art, the message port congestion detection method and device can monitor the congestion state of the port queue in a dynamic mode and meets requirements for increasing security and monitoring refinement in network.

Description

technical field [0001] The invention relates to the field of network communication, in particular to a method and device for detecting message port congestion. Background technique [0002] In the switch chip, according to the needs of network traffic management, the forwarded packets are often assigned to multiple queues. The switch chip schedules the packets stored in the internal If the rate is slower than the dispatched rate, the length of the corresponding queue will increase accordingly, resulting in congestion of stored packets, and correspondingly, subsequent packets input to this queue will be discarded. [0003] Generally speaking, the state of port packet congestion is relatively random, and the upper-layer software cannot dynamically monitor the congestion state of each queue in the internal memory of the chip, so it cannot provide real-time and effective impact on network traffic management, which will cause congestion within a certain time slice , which affect...

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/26
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