Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Method for Controlling the Flow of Ethernet Messages

A technology of flow control and Ethernet, which is applied in the direction of data exchange network, digital transmission system, electrical components, etc. It can solve the problems of large impact on accuracy and out-of-sequence of messages, achieve high precision and ensure consistent order

Active Publication Date: 2017-12-22
上海寰创通信科技股份有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The accuracy of this design is greatly affected by the CPU system clock frequency
[0003] In the traditional design, the flow control stores the packets exceeding the current rate in the buffer, and the buffer packets are sent by the timer, then the packets arriving later may be sent before the buffer packets, which will cause the packet out of order

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
  • A Method for Controlling the Flow of Ethernet Messages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0027] Such as figure 1 As shown, a method for controlling the flow of Ethernet packets, the method first sets a byte time table, when a packet enters, the current time scale is used as an index, and the words that can pass through the time scale are obtained by looking up the table. Then, according to the state of the message in the buffer area, judge the processing mode of the message: pass, store in the buffer area or be discarded.

[0028] The method specifically includes the following steps:

[0029] In step a, after the message enters, the time scale uiTickDiff is calculated according to the time point of the arrival of the last message and the current time point;

[0030] In step b, use the time scale uiTickDiff as an index to obtain the number of bytes uiByteAvail that can pass through the current time scale from the byte time table auiByteTable;

[0031] In step c, add uiByteAvail to the total number of bytes that can be passed g_uiByteAvail:

[0032] In step d, de...

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 relates to a method for controlling the flow of Ethernet messages. In the method, a byte time table is firstly set. When a message enters, the current time scale is used as an index, and the words that can pass through the time scale are obtained by looking up the table. Then, according to the status of the message in the buffer area, judge the processing mode of the message; pass, store in the buffer area or be discarded. Compared with the prior art, the present invention has the advantages of high precision, keeping messages in order, and the like.

Description

technical field [0001] The invention relates to a network control method, in particular to an Ethernet message flow control method. Background technique [0002] In network communication equipment, it is necessary to control the sending and receiving rate of access users so that the entire network can operate normally and reasonably. In the traditional design, the length of the packet to be passed is converted into the time it takes, and then the time scale token bucket is checked to determine whether the packet can pass. The accuracy of this design is greatly affected by the CPU system clock frequency. [0003] In the traditional design, the flow control stores the packets exceeding the current rate in the buffer, and the buffer packets are sent by the timer, so the packets arriving later may be sent before the buffer packets, which will cause the packet Out of order. Contents of the invention [0004] The purpose of the present invention is to provide a high-precision...

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/861
Inventor 钟华清
Owner 上海寰创通信科技股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products