A Flow Control Method Based on Hardware Counter

A flow control and counter technology, applied in the direction of program control design, instrumentation, calculation, etc., can solve the problems of limited data storage and limited quantity, and achieve the effect of solving storage and processing problems

Active Publication Date: 2021-08-24
HUNAN RONGTENG NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a flow control method based on hardware counters, which can realize precise control of each flow in large-scale flow scenarios or conditions, overcome the relative shortage of on-chip resources and the limited data that can be stored, resulting in simultaneous The defect of the limited number of managed flows solves the problem of storage and processing of control data under large-scale flows

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 Flow Control Method Based on Hardware Counter
  • A Flow Control Method Based on Hardware Counter

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] 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 part of the embodiments of the present invention, not all of them. 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.

[0043] In addition, the technical solutions of the various embodiments of the present invention can be combined with each other, but it must be based on the realization of those skilled in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered as a combination of technical solutions. Does not exist, nor is it within the scope of protection required by the present invention.

[0044] Please ...

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

This application discloses a flow control method based on a hardware counter, which extracts the flow ID of the message; obtains the counter ID associated with the flow ID; obtains the message frame length corresponding to the flow ID; and queries the counter ID in the cache of the hardware counter ; If the query is not hit, load the message from the memory space corresponding to the counter ID to the cache; if the query is hit, go to the next step; calculate the flow state of the message in the cache according to the configuration information and the frame length of the message; according to the flow state , process the message. The flow control method provided by this application does not require an on-chip flow management module to control the flow, but uses memory as a data storage space and a hardware counter cache as a data processing space, which overcomes the relative shortage of on-chip resources and the limited data that can be stored, resulting in simultaneous management The defect of limited number of streams solves the problem of storage and processing of control data under large-scale traffic, and realizes precise control of each stream under large-scale traffic.

Description

technical field [0001] The invention relates to the field of network flow control, in particular to a flow control method based on a hardware counter. Background technique [0002] With the continuous development of modern network technology, network applications have penetrated into all aspects. The increase in network traffic is not only the increase in speed, but also the increase in the number of terminals and applications, especially the latter, which leads to the identification of network traffic control in service scenarios The number of incoming flows has increased significantly, which puts new demands on the scale of flow control. [0003] In the service scenario of network traffic control, an on-chip traffic management module is generally used to control traffic. However, due to the relative shortage of on-chip resources and the limited data that can be saved, the number of streams that can be managed at the same time is limited. It is impossible to achieve precis...

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 & AuthorityPatents(China)
IPC IPC(8): H04L12/819G06F9/50H04L47/21
CPCH04L47/215G06F9/5011
Inventor胡都欢陈一骄唐靖飚李权李先平刘湘曾彪陈信龙童云龙王文果张晓哲屈晓阳黄高平
OwnerHUNAN RONGTENG NETWORK TECH CO LTD