Method and device for controlling network traffic and local area network system

A flow control and network flow technology, applied in the field of communications, can solve the problems of downlink data blocking, uncontrollable downlink data packets occupying downlink bandwidth, network applications unable to receive downlink data, etc.

Active Publication Date: 2010-09-08
BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF4 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, for downlink data packets, since they reach the modem first and then the network card, the main network bandwidth bottleneck lies in the modem (usually the downlink rate is 1-2M), not the network card (currently generally 1000M network card is used), so , in this prior art, the problem of downlink data blocking cannot be solved through downlink bandwidth scheduling at the network card end
For uplink data packets, although uplink data blocking can be avoided, the occupancy of downlink bandwidth by downlink data packets cannot be controlled, which may also cause downlink data blocking; for example, when the uplink data cache queue contains a large amount of P2P application data (Although part of it may have been discarded), the downlink bandwidth may still be occupied by downlink data packets of P2P applications, making it impossible for other network applications to receive downlink data
It can be seen that this prior art cannot avoid the impact of individual network applications on other network applications

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 controlling network traffic and local area network system
  • Method and device for controlling network traffic and local area network system
  • Method and device for controlling network traffic and local area network system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0074] First of all, it needs to be explained that, for the uplink data packets, since they arrive at the network card first, and then are sent to the network through the modem, and the upload rate of the network card is much higher than the upload rate of the modem, there is a buffer at the network card. Since the uplink data packets that have arrived at the network card but have not been sent by the modem are buffered, the uplink data packets in the buffer form an uplink buffer queue. Based on the above characteristics, in Embodiment 1 of the present invention, a parameter can be set in advance: the water level value of the uplink sending buffer queue, which is equivalent to the amount of data (the number of occupied data units) occupied by each current uplink data packet in the buffer. , such as the sum of the number of bytes, the number of bits, etc.), since the uplink data packets in the buffer are continuously uploaded, the upload rate S' of the modem is equivalent to the...

Embodiment 2

[0093] In the foregoing first embodiment, network applications are divided into high priority and non-high priority. In practical applications, non-high priority network applications can also be divided into multiple priority levels, wherein high priority The network applications can also be not discarded no matter what the water level is, and the non-high priority network applications of each level can set their own water level thresholds respectively. Whenever a non-high-priority data packet is detected, it can be judged whether it can be sent according to the water level threshold corresponding to its priority level.

[0094] For example, network applications may be divided into three levels: A, B, and C, where A is high priority, B and C are not high priority, and B's priority is higher than C's priority. Therefore, no matter how much the data packet of the A-level network application is discarded, the water level threshold of the B-level network application can be set to ...

Embodiment 3

[0098] In the foregoing embodiment one and embodiment two, the water level threshold is fixed after setting, and in this embodiment three, after the first uplink data packet of the high-priority network application arrives, the To limit the uploading of uplink data packets of non-high priority network applications, a flow rate adjustment strategy is adopted, which will be introduced in detail below.

[0099] First of all, it needs to be explained that the water level value and the outflow rate of the data volume used in the embodiment of the present invention are all virtual concepts, that is, these values ​​are used to calculate and determine whether to discard when the second uplink data packet is detected of the second uplink data packet. Although the values ​​of the water level threshold and outflow rate may be related to the actual modem upload rate, when these values ​​are changed to control the upload of some second uplink data packets, the actual rate will not be affec...

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 method and a device for controlling network traffic and a local area network system, wherein the method comprises the steps: monitoring a new uplink packet to be sent; controlling the traffic of the uplink packet to be sent in the following modes when triggering condition for traffic control is met: when the uplink packet to be sent comes from a first uplink packet applied in a preset high-priority network, the first uplink packet is added into an uplink sending caching queue; when the uplink packet to be sent comes from a second uplink packet applied in a preset non-high-priority network, whether the second uplink packet is allowed to be sent is determined according to current bandwidth occupation; if yes, the second uplink packet is added into the uplink sending caching queue, or else, the second uplink packet is discarded. The method is capable of lowering influence of some network application to other network applications.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a network flow control method, device and local area network system. Background technique [0002] In a network environment with limited bandwidth such as ADSL (Asymmetric Digital Subscriber Line, Asymmetric Digital Subscriber Line), some network applications (such as common P2P applications, including streaming media, BT download, etc.) usually occupy a large amount of upstream and downstream bandwidth. Cause other network application requests to be blocked or interfered. [0003] There are many bandwidth scheduling methods adopted in the prior art, one of which is to control at the network card side. For example, for the uplink bandwidth, the uplink bandwidth limit threshold is set in advance, and the intercepted uplink data packets are stored in the uplink data cache queue, and each time an uplink data packet is intercepted, it is judged whether the bandwidth occupied b...

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/56H04L1/00H04L12/801H04L12/861
Inventor 孙卓蒋又新
Owner BEIJING SOGOU TECHNOLOGY DEVELOPMENT 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