Message rate-limiting method of Ethernet port, device and data communication device

A speed limiting device and Ethernet technology, which is applied in the field of Ethernet switching and data communication, can solve problems such as occupancy and inability to protect the CPU, and achieve the effects of low hardware cost, improved scalability, and wide application range

Inactive Publication Date: 2010-12-22
ZTE CORP
View PDF5 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method needs to occupy hardware timer resources, and cannot effective...

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
  • Message rate-limiting method of Ethernet port, device and data communication device
  • Message rate-limiting method of Ethernet port, device and data communication device
  • Message rate-limiting method of Ethernet port, device and data communication device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0040] For modern CPUs (the CPU in the present invention should be understood in a broad sense, which includes processing units with data processing capabilities, such as processors in routers) and operating systems, system clock interruption mechanisms are generally provided. The system clock periodically generates interrupts at a set frequency, which is an important basis for the operating system to schedule various application programs to run. For example, for v...

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 message rate-limiting method of an Ethernet port, a device and data communication equipment. The method comprises the following steps: carrying out flow sampling on messages sent from the Ethernet port to a CPU within sampling time T1 and outputting the sampling flow; comparing the sampling flow with a preset first flow threshold value and judging whether the sampling flow is higher than the first flow threshold value; and when the sampling flow is higher than the first flow threshold value, controlling the message flow sent from the Ethernet port to the CPU within effective time T2 so as to cause the message flow in unit time within the effective time T2 is less than the message flow in unit time within the sampling time T1. The scheme of the invention can monitor the message sent from the Ethernet port to the CPU and the message out of limits under the condition of not occupying extra hardware timer resources, thereby having small hardware cost and wide application.

Description

technical field [0001] The invention mainly relates to the fields of Ethernet switching and data communication, in particular to a method and device for limiting the speed of Ethernet port messages and data communication equipment. Background technique [0002] In data communication and integrated access equipment, the Ethernet port is a very basic and important functional component. Through the Ethernet port, we can conveniently perform device management, version maintenance and fault location. [0003] As an important input and output device, the Ethernet port generally interacts with the CPU of the device through interrupts to complete the communication function. There are many devices with a single CPU, and for multi-CPU devices, processor resources are also limited. In addition to completing the sending and receiving of Ethernet port data packets, the CPU also needs to do many other tasks, such as operating Run various applications under the scheduling of the system, r...

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): H04L12/56H04L12/26H04L1/00H04L12/811
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