Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for counting active flows, network device, and system

A technology of network equipment and active flow, applied in the network field, can solve the problems of inaccurate statistics of active flow, unable to reflect the real situation of network transmission data flow, etc., and achieve the effect of accurate active flow.

Active Publication Date: 2019-01-18
HUAWEI TECH CO LTD
View PDF8 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, in different scenarios, for example, in different networking methods, different traffic models, and grid architectures where congestion may occur, if the traditional solution is still used to count the number of active flows based on a fixed time window, it is very difficult It may lead to inaccurate statistics on the number of active flows, so that the number of active flows obtained by statistics cannot reflect the real situation of network transmission data 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
  • Method for counting active flows, network device, and system
  • Method for counting active flows, network device, and system
  • Method for counting active flows, network device, and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The technical solution in this application will be described below with reference to the accompanying drawings.

[0049] figure 1 It is a schematic diagram of a possible application scenario of the embodiment of this application.

[0050] Such as figure 1 As shown, the sending end 1, the sending end 2, and the sending end 3 can send data streams to the receiving end 1 and the receiving end 2 through the switch 1 and the switch 2. Both the receiving end 1 and the receiving end 2 can receive the data flow sent by the sending end 1 to the sending end 3 through the switch 1 and the switch 2 (the switch 1 and the switch 2 forward the data flow sent by the sending end 1 to the sending end 3 to the receiving end 1 and receiving end 2).

[0051] Taking receiving end 1 as an example, receiving end 1 can perform statistics on received data streams, for example, receiving end 1 can perform statistics on the number of received active data streams (which can be referred to as the...

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 method for counting active flows, and a network device, and a system. The method includes the steps that a first network device receives a head packet of a first group of datapackets sent by a second network device, and adds 1 to the current number of active flows to obtain the number of first active flows; the first network device receives the tail packet of the first group of data packets sent by the second network device, and determines a first congestion value according to the number of data packets in the first group of data packets with the ECN (external congestion notification) identifiers; subtracting one from the number of first active flows through the first network device when the first congestion value is less than a congestion threshold value, so as to obtain the number of second active flows; enabling the first network device to maintain the number of the first active flows when the first congestion value is greater than or equal to the congestion threshold value. This method can achieve the more accurate counting of the active flows.

Description

technical field [0001] The present application relates to the field of network technologies, and more specifically, to a method, network device and system for counting the number of active flows. Background technique [0002] In many scenarios, in order to understand the status of data streams received by the network device, it is often necessary to count the number of active data streams received by the network device. For example, in the field of congestion control and bandwidth allocation, it is necessary to count the number of active flows in the network, and then perform congestion control or bandwidth allocation according to the number of active flows. [0003] Traditional solutions generally determine whether a data flow is an active flow according to whether a data packet is received within a fixed time window, and then count the number of active flows. For example, if the network device receives the data packet of the first data flow within the first time window, t...

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 Applications(China)
IPC IPC(8): H04L12/26
CPCH04L43/062H04L43/0876H04L43/026H04L47/115Y02D30/50H04L47/12
Inventor 刘孟竹张亚丽
Owner HUAWEI TECH CO LTD